Donny Ahumada 1000 y una linea + mouse

De Casiopea
Revisión del 12:43 27 sep 2018 de Hspencer (discusión | contribs.) (Texto reemplazado: «Helbert Spencer» por «Herbert Spencer»)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)
1000 colored lines with mouse response


Título1000 colored lines with mouse response
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 2
AsignaturaTaller Inicial 1ª y 2ª Etapa, Taller Inicial Común 1ª y 2ª Etapa,
Del Curso1º Diseño 2012, Imagen Escrita 2012,
CarrerasDiseño Gráfico"Diseño Gráfico" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property., Diseño Industrial"Diseño Industrial" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property.
Alumno(s)Donny Ahumada
ProfesorHerbert Spencer

void setup(){

 size (700, 700);

} int i,h; void draw () {

 background(200);
 for (i = 0; i < 1000; i++) 
 {
   float r = random(700);
   float s = random(700);
   float x = random(255);
   float y = random(255);
   float z = random(255);
   stroke (x,y,z);
   /*for (int w=0; w<700; w++)
   {
     if (s==mouseX & r==mouseY)
     { 
       strokeWeight (10);
     }
   }*/
   line (s,r,350,350);
   strokeWeight (3);
   stroke (0);
   line (mouseX,mouseY,350,350);
   strokeWeight (0);
 }
 noLoop();
 //saveFrame("1000plusmouse.jpg");

} void mouseMoved () {

 loop();

}