Luciano Cimino; Espiral

De Casiopea
La versión para imprimir ya no se admite y puede contener errores de representación. Actualiza los marcadores del navegador y utiliza en su lugar la función de impresión predeterminada del navegador.


TítuloEspiral
Tipo de ProyectoProyecto de Taller
Palabras Clavetarea 3
Período2013-2013
AsignaturaImagen Escrita 2013 - DIS,
Del CursoImagen Escrita 2013 - DIS,
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)Luciano Cimino
ProfesorHerbert Spencer

void setup() {

   size(500, 500);
   stroke(20);

}

void draw() { background(255);

 float a, b, c, rInc; 
 c = 2;
 rInc = mouseX*2;  
 rInc = mouseX/30;
 
 float inc = TWO_PI /3;

beginShape();

   for (float t = 2; t < TWO_PI * mouseX/60; t += inc) {
 a = mouseX + cos(t) * c/2;
 b = mouseY + sin(t) * c/2;
   vertex(a, b);
 c += rInc;
   

} endShape();

}