Maximiliano Martinez: Espiral

De Casiopea


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)Maximiliano Martínez
ProfesorHerbert Spencer


void setup() {
size(500, 500);
noFill();
smooth(0);
}



void draw() {
background(150);

  float x, y, r, rInc;  


r = 1;
rInc = mouseX/50;
float inc = TWO_PI / 40;

beginShape();
for (float t = 0; t < TWO_PI * mouseX/50; t += inc) {

  x = mouseX + cos(t) * r/25;
  y = mouseY + sin(t) * r/25;

  vertex(x, y);
  r += rInc;
  

    
}
endShape();


}