int i=1; float cnt = 0.0; int z=1; void setup() { size(500,500); } void draw() { background(cnt,125,150); if (cnt< 360) { cnt++; } else { cnt = 0; } translate(250,250); rotate (radians(cnt*3)); for (float i= 0.0; i<25*TWO_PI; i+=0.5) { float x = 0 + i*cos(i); float y = 0 + i*sin(i); strokeWeight(cnt/4); stroke(cnt,cnt,0); point(x,y); }//end for }//end draw