void draw() { background(0); smooth(); // O retangulo segue o cursor. rect(mouseX, mouseY, width/3, height/3); }