int cnt=0; void setup (){ size (400,400); background(255); ellipseMode(CENTER_DIAMETER); } void loop (){ background(255); smooth(); noStroke (); cnt++; if((cnt/50)%3==0) fill(200,0,0,100); else if ((cnt/50)%3==1) fill (0,200,0,100); else fill (0,200,200,100); ellipse(200,200, mouseX/3,mouseY); if((cnt/50)%3==0) fill(200,0,0,50); else if ((cnt/50)%3==1) fill (0,200,0,50); else fill (0,200,200,50); ellipse(200,200, mouseX,120); if((cnt/50)%3==0) fill(200,0,0,150); else if ((cnt/50)%3==1) fill (0,200,0,150); else fill (0,200,200,150); ellipse(200,200, 100,120); }