viernes, 3 de febrero de 2012
sketch 04
int x,x2,x3,x4,x5,x6;
void setup() {
size(800,800);
background(0);
}
void draw() {
background(255);
delay(350);
x=mouseX;
x2=x*2;
x3=x*3;
x4=x*4;
x5=x*5;
x6=x*6;
stroke((random(250)),(random(250)),80,100);
strokeWeight(random(30));
smooth();
line(x,0,x,200);
line(x2,0,x2,800);
line(x3,0,x3,600);
line(x4,0,x4,800);
line(x5,0,x5,400);
line(x6,0,x6,800);
line(0,x,200,x);
line(0,x2,800,x2);
line(x3,(random(400)),x3,600);
line((random(x4)),0,(random(x4)),800);
line(x5,0,x5,400);
line(x6,0,x6,800);
}
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario