xxxxxxxxxx
int angle = 0;
float t = 0;
void setup()
{
size(1000,1000);
rectMode(CENTER);
background(0);
smooth(8);
}
void draw()
{
background(0);
translate(width/2,height/2);
noFill();
stroke(255);
strokeWeight(0.5);
for(int i=0; i<=30; i++) {
rotate(radians(i*.5)*t);
rect(0,0,20*i,20*i);
}
t = sin(radians(angle));
angle++;
}