void setup() { // Carrega a fonte Arial com metade do tamanho da tela textFont(createFont("Arial", height/2)); // Alinha o texto textAlign(CENTER, BASELINE); } void draw() { // Limpa a tela com a cor da tecla // caso a tecla seja pressionada background(key * int(keyPressed)); text(key, width/2, height/2); }