//Create an animated form //that communicates the idea of "order+chaos". float degree; float x,y,t; void setup() { size(400,400); x=0; degree=0; } void loop() { background(255); x++; degree+=PI/200; // degree=degree+PI/60; if(x>width) x=0; stroke(0); for(int t=0; t<100; t=t+1) ellipse(200+cos(degree+t+t*10)*mouseX/2*2,200+sin(degree+t*10)*mouseY/2*2, 10,10); stroke(200,0,0); for(int t=0; t<100; t=t+1) ellipse(200+cos(degree+t*10)*mouseX/2,200+sin(degree+t+t*10)*mouseY/2, 10,10); }