float x, y; // The current coordinates of the ball float r = 20; // ball radius void setup() { size(400,400); smooth(); noStroke(); x = 0; y = height/2; // start at left, center } void draw() { background(0); ellipse(x,y,2*r,2*r); x += 1; // take one step to the right } // START NO NOTES // code used to capture screenshots void keyReleased() { if(key == '`' && !online) save("sketch.png"); }