ConnectedCat_SMC-TangibleInteractions/week14/KeyboardInput_1/KeyboardInput_1.pde
int boxHeight = 40;
int boxWidth = 300;

PFont myFont;

String inputText = "";

void setup(){
  size(400, 200);
  
  myFont = createFont("Georgia", 32);
}

void draw(){
  background(240, 45, 78);
  
  fill(255);
  rect(width/2 - boxWidth/2, height/2 - boxHeight/2, boxWidth, boxHeight);
  
  fill(240, 45, 78);
  textFont(myFont);
  textAlign(LEFT, TOP);
  text(inputText, width/2 - boxWidth/2, height/2 - boxHeight/2);
}

void keyReleased(){
  inputText += key;
}