void setup() { size(100, 300); frameRate(5); } void draw() { ellipse(width/2, 10+1*frameCount+(0.5*5*frameCount*frameCount), 10, 10); }