int start; int x1 = 250; int x2 = 250; void setup() { start = millis(); size(700,700); }
void draw() { int timer = millis()-start; if (timer > 50) { start = millis(); text(timer, 20, 20); x1 = x1 + 10; x2 = x2 - 10; } for (int y = 50; y < 700; y = y + 50) { ellipse(x1,y,50,50); ellipse(x2,y,50,50); }
}