domingo, 15 de mayo de 2011

16:55

Espiral verde circulos

int x = width/4;
int y = height/4;
float w = width;
float h = height;

void setup () {
size (500,500);
background (132,198,120);
smooth ();
noFill ();
}




void draw (){
int x = width/4;
int y = height/4;
float w = width;
float h = height;
ellipse (x,y,w,h);
ellipse (x,y,w/2,h/2);
ellipse (x,y,w/4,h/4);
ellipse (x,y,w/5,h/5);
ellipse (x,y,w/6,h/6);
ellipse (x,y,w/7,h/7);

}

0 comentarios:

Publicar un comentario