Felipe Andrés Peña y Lillo Polanco - Tarea 3.2
De Casiopea
Título | Identidad Circular: Espiral |
---|---|
Tipo de Proyecto | Proyecto de Taller |
Palabras Clave | tarea 3 |
Período | 2013- |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita 2013 - ARQ, |
Carreras | Arquitectura |
Alumno(s) | Felipe Peña y Lillo |
Profesor | Herbert Spencer |
float x, y, r, rInc; void setup() { size(500, 500); noFill(); stroke (255); } void draw() { background(0); rInc = (mouseY / 1) * .1; r = 0; float inc = TWO_PI / mouseY; beginShape(); for (float t = 0; t < TWO_PI * 10; t += inc) { x = width/2 + cos(t) * r; y = height/2 + sin(t) * r; vertex(x, y); r += rInc; } endShape(); ellipse(width/2, height/2, 3, 3); }