davideriboli
3/6/2013 - 12:01 AM

Foggy Spiral

Foggy Spiral

/* 

http://blog.jamesmakes.com/post/44410635261

THIS IS A PROCESSING SKETCH

change file suffix .java into .pde before running

*/

int tAngle = 360/4*3;

void setup() {
size(640, 480);
noStroke();
} 

void draw() {
background(0);
translate(width/2,height/2);
for (int i=0; i<tAngle; i++){
pushMatrix();
rotate(radians(i));
fill(255,5);
arc(0,0,i,i,0,radians(i));
popMatrix();
}
}