10.000 lineas Daniel Galaz+ mouse

De Casiopea





Título10.000 lineas Daniel galaz + mouse
AsignaturaImagen Escrita 2012
Del CursoImagen Escrita 2012

void setup() {

size(1000,1000);
smooth();

}

void draw() {

background(255);
stroke(0);
for (int n=0; n<1000; n=n+2) {
line(width-mouseX+(n),mouseY,mouseX,height-mouseY+(n));
line(width-mouseX+(n),500,500,height-mouseY+(n));
line(width-mouseX+(n),0,0,height-mouseY+(n));
line(width-mouseX+(n),1000,1000,height-mouseY+(n));
line(width-mouseX+(n),0,500,height-mouseY+(n));
line(width-mouseX+(n),500,0,height-mouseY+(n));
line(width-mouseX+(n),0,1000,height-mouseY+(n));
line(width-mouseX+(n),1000,0,height-mouseY+(n));
line(width-mouseX+(n),500,1000,height-mouseY+(n));
line(width-mouseX+(n),1000,500,height-mouseY+(n));
  line(width-mouseX-(n),mouseY,mouseX,height-mouseY-(n));
  line(width-mouseX-(n),500,500,height-mouseY-(n));
  line(width-mouseX-(n),0,0,height-mouseY-(n));
  line(width-mouseX-(n),1000,1000,height-mouseY-(n));
  line(width-mouseX-(n),0,500,height-mouseY-(n));
  line(width-mouseX-(n),500,0,height-mouseY-(n));
  line(width-mouseX-(n),0,1000,height-mouseY-(n));
  line(width-mouseX-(n),1000,0,height-mouseY-(n));
  line(width-mouseX-(n),500,1000,height-mouseY-(n));
  line(width-mouseX-(n),1000,500,height-mouseY-(n))