//W:Mute 2004 - Abstract //www.wmute.org float[][] points={{0,0,1}, {0.894427,0,0.447214}, {0.276393,0.850651,0.447214}, {-0.723607,0.525731,0.447214}, {-0.723607,-0.525731,0.447214}, {0.276393,-0.850651,0.447214}, {0.723607,0.525731,-0.447214}, {-0.276393,0.850651,-0.447214}, {-0.894427,0,-0.447214}, {-0.276393,-0.850651,-0.447214}, {0.723607,-0.525731,-0.447214}, {0,0,-1}, {0.360729,0,0.932671}, {0.672883,0,0.739749}, {0.111471,0.343074,0.932671}, {0.207932,0.63995,0.739749}, {-0.291836,0.212031,0.932671}, {-0.544374,0.395511,0.739749}, {-0.291836,-0.212031,0.932671}, {-0.544374,-0.395511,0.739749}, {0.111471,-0.343074,0.932671}, {0.207932,-0.63995,0.739749}, {0.784354,0.343074,0.516806}, {0.568661,0.63995,0.516806}, {-0.0839038,0.851981,0.516806}, {-0.432902,0.738584,0.516806}, {-0.83621,0.183479,0.516806}, {-0.83621,-0.183479,0.516806}, {-0.432902,-0.738585,0.516806}, {-0.0839036,-0.851981,0.516806}, {0.568661,-0.63995,0.516806}, {0.784354,-0.343074,0.516806}, {0.964719,0.212031,0.156077}, {0.905103,0.395511,-0.156077}, {0.0964608,0.983023,0.156077}, {-0.0964609,0.983023,-0.156077}, {-0.905103,0.395511,0.156077}, {-0.964719,0.212031,-0.156077}, {-0.655845,-0.738585,0.156077}, {-0.499768,-0.851981,-0.156077}, {0.499768,-0.851981,0.156077}, {0.655845,-0.738584,-0.156077}, {0.964719,-0.212031,0.156077}, {0.905103,-0.39551,-0.156077}, {0.499768,0.851981,0.156077}, {0.655845,0.738584,-0.156077}, {-0.655845,0.738584,0.156077}, {-0.499768,0.851981,-0.156077}, {-0.905103,-0.395511,0.156077}, {-0.964719,-0.212031,-0.156077}, {0.0964609,-0.983023,0.156077}, {-0.0964608,-0.983023,-0.156077}, {0.432902,0.738584,-0.516806}, {0.0839037,0.851981,-0.516806}, {-0.568661,0.63995,-0.516806}, {-0.784354,0.343074,-0.516806}, {-0.784354,-0.343074,-0.516806}, {-0.568661,-0.63995,-0.516806}, {0.0839038,-0.851981,-0.516806}, {0.432902,-0.738584,-0.516806}, {0.83621,-0.183479,-0.516806}, {0.83621,0.183479,-0.516806}, {0.291836,0.212031,-0.932671}, {0.544374,0.395511,-0.739749}, {-0.111471,0.343074,-0.932671}, {-0.207932,0.63995,-0.739749}, {-0.360729,0,-0.932671}, {-0.672883,0,-0.739749}, {-0.111471,-0.343074,-0.932671}, {-0.207932,-0.63995,-0.739749}, {0.291836,-0.212031,-0.932671}, {0.544374,-0.39551,-0.739749}, {0.479506,0.348381,0.805422}, {-0.183155,0.563693,0.805422}, {-0.592702,0,0.805422}, {-0.183155,-0.563693,0.805422}, {0.479506,-0.348381,0.805422}, {0.985456,0,-0.169933}, {0.304523,0.937224,-0.169933}, {-0.79725,0.579236,-0.169933}, {-0.79725,-0.579236,-0.169933}, {0.304523,-0.937224,-0.169933}, {0.79725,0.579236,0.169933}, {-0.304523,0.937224,0.169933}, {-0.985456,0,0.169933}, {-0.304522,-0.937224,0.169933}, {0.79725,-0.579236,0.169933}, {0.183155,0.563693,-0.805422}, {-0.479506,0.348381,-0.805422}, {-0.479506,-0.348381,-0.805422}, {0.183155,-0.563693,-0.805422}, {0.592702,1.2143e-007,-0.805422}}; int num=92; int alpha=150; float scale; float ax=0; float ay=0; float x,y,z,tx,ty,tz,mx,my,sf; BImage bkg; Triplets Ts; void setup(){ smooth(); size(640,360); framerate(18); stroke(0,0,0,alpha); scale=120.0; Ts=new Triplets(); bkg = loadImage("D4MD_bkg.jpg"); background(bkg); } void loop(){ background(bkg); translate(200,height/2.0,0); my=min(1.0,1.0*float(mouseX-width/2)/width); mx=min(1.0,1.0*float(mouseY-width/2)/height); ax+=mx*TWO_PI/500; ay+=my*TWO_PI/500; for (int i=0; i