void setup() { size(100, 300); } void draw() { background(0); ellipse(0, (frameCount % height), 10, 10); // Velocidade: 2 px/frame ellipse(width/4, 2*(frameCount % (height/2)), 10, 10); // Velocidade: 3 px/frame ellipse(width/2, 3*(frameCount % (height/3)), 10, 10); // Velocidade: 4 px/frame ellipse(3*width/4, 4*(frameCount % (height/4)), 10, 10); }