//for order, put the mouse in the top left corner //to create chaos, mouse the mouse to any other position float a = 0; int b = 250; int c = 250; void setup(){ size(500,500); smooth(); } void draw(){ background(255, 255, 0); for(int i=0; i<50; i++){ rotateEllipse(10*i, 10*i, a*i); a += .01; } } void rotateEllipse(int b, int c ,float aIn){ pushMatrix(); translate(b, c); rotate(radians(aIn)); fill(0, 255, 0); ellipse(mouseX, mouseY, 60, 60); a += .01; c += .05; popMatrix(); }