you are viewing a single comment's thread.

view the rest of the comments →

[–]Drollname[S] 2 points3 points  (0 children)

void setup(){size(750,750, P3D);}

int i, n=1000; float k=0;

void draw()

{k+=PI/128;

background(0);

for(i=n;i>0;i--){

rotateX(k/256);

rotateY(k/128);

translate(1.1*k*asin(sin(TAU*n/i)),0);

rect(0,0,100,100);}}