//Jose M. Pena //Moving sun in a circle int cx = 450; int cy = 550; int r = 380; void setup() { size(800, 600); } void draw() { background(0); stroke(0); float t = millis()/1000.0f; int x = (int)(cx+r*cos(t)); int y = (int)(cy+r*sin(t)); ellipse(x, y,100,100); }