Espiral monsepach

De Casiopea


Títulomonsepach : espiral
Tipo de ProyectoProyecto de Taller
Palabras Clavetarea 3
Período2013-2013
AsignaturaImagen Escrita,
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)Monserrat Lucia Pacheco Sandoval

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



void draw() {
background(255);
 stroke(150,20,240);
  strokeWeight(5);

  float x, y, r, rInc;  

r = 0;
rInc = mouseX/2;  

r = 0;
rInc = mouseX/85;
float inc = TWO_PI / 64;

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

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

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

    
}
endShape();


}