//W:Mute 2004 - Mobile //www.wmute.org int b=12; int c=0; ring R1,R2,R3; int siz=640; int output[]=new int[siz*siz]; int index=0; void setup(){ size(640,640); background(255); colorMode(RGB); stroke(0,50); framerate(18); R1=new ring((int)random(3,16),random(90.0,288.0),random(siz/7.0,siz/2.5),5.0,random(PI)); R2=new ring((int)random(3,16),random(90.0,288.0),random(siz/15.0,siz/5.0),5.0,random(PI)); R3=new ring((int)random(3,16),random(90.0,288.0),random(siz/5.0,siz/2),5.0,random(PI)); c=0; index=0; for(int i=0; i>8); } int myblend(int a, int b, int f) { return mix(a>>16,b>>16,f)<<16 | mix(a>>8&0xff,b>>8&0xff,f)<<8 | mix(a&0xff,b&0xff,f); } class ring{ int numBoxes; float frames; float radius; float size; float angle; color c; ring(int nB, float f, float r, float s,float a){ numBoxes=nB; frames=f; radius=r; size=s; angle=a; } void draw(int count){ fill(0,0,0,50); push(); rotateZ(angle+0.66*(float)count/frames*TWO_PI); rotateX(0.25*(float)count/frames*TWO_PI); for (int i=0; i