void setup() { size(400, 200); textFont(createFont("Arial", 15)); frameRate(10); } void draw() { // Exibe os pontos stroke(0); point(frameCount, frameCount); stroke(255, 0, 0); point(frameCount, frameCount / 2); stroke(0, 255, 0); point(frameCount, frameCount / 3); // Exibe os dados noStroke(); fill(255); rect(0, height/2, 400, 100); fill(0); text("frameCount = " + frameCount, 0, height - 45); fill(255,0,0); text("frameCount / 2 = " + (frameCount / 2), 0, height - 30); fill(0,255,0); text("frameCount / 3 = " + (frameCount / 3), 0, height - 15); }