10.000 lineas Daniel Galaz+ mouse

De Casiopea
Revisión del 23:17 11 abr 2012 de Daniel Galaz (discusión | contribuciones) (Página creada con '{{Proyecto |Título=10.000 lineas Daniel galaz + mouse |Asignaturas Relacionadas=Imagen Escrita 2012, |Cursos Relacionados=Imagen Escrita 2012, }} void setup() { size(1000,1...')
(dif) ← Revisión anterior | Revisión actual (dif) | Revisión siguiente → (dif)





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))