Espiral Camila Zamora
De Casiopea
Título | Espiral Camila Zamora |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 3 |
Período | 2013- |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita 2013 - ARQ, |
Carreras | Arquitectura |
Alumno(s) | Camila Zamora |
Profesor | Herbert Spencer |
float x, y, r, e; void setup() { background (255); size(500, 500); stroke(149,23,229); } void draw() { r=0; float a = (TWO_PI / mouseX); e= (mouseX/ 100) * 0.1; beginShape(); for (float t = 1; t < TWO_PI * 100; t += a) { x = width/5 + cos(t) * r; y = height/6 + sin(t) * r; vertex(x, y); r += e; } endShape(); }