Consuelo Santis: Identidad circular
De Casiopea
Título | Identidad circular, remolino |
---|---|
Tipo de Proyecto | Proyecto de Taller |
Palabras Clave | tarea 3 |
Período | 2013-2013 |
Asignatura | Imagen Escrita 2013 - DIS, |
Del Curso | Imagen Escrita 2013 - DIS, |
Carreras | Diseñ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) | Consuelo Santis Escudero |
Profesor | Herbert Spencer |
void setup() { size(500, 500); noFill(); } void draw() { background(255); float x, y, r, rInc; // declara múltiples variables r = 0; rInc = mouseX/8; r = 0; rInc = mouseX/90; float inc = TWO_PI / 24; beginShape(); for (float t = 0; t < TWO_PI * mouseX/100; t += inc) { x = mouseX + cos(t) * r/3; y = mouseY + sin(t) * r/3; vertex(x, y); r += rInc; } endShape(); }