PFont font; float x = 0; float y = 0; int t = 0; void setup() { size(500, 572); font = loadFont("Dialog.plain-30.vlw"); textFont(font); frameRate(3); smooth(); noStroke(); } void draw(){ background(255); fill(160, 20, 100); text("Is this motion violate", 10, 120); text(" the physical law?", 240, 200); fill(45, 120, 190); ellipse(0+x, 20+y, 30, 30); if(y < 536){ x = 8*t*t; y = 5.0/3.0*t*t*t; t++; }else{ x = x + 10; y = 536; } }