Espiral Andro Contreras
De Casiopea
Título | Espiral |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 2 |
Período | 2013-2013 |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita 2013 - ARQ, |
Carreras | Arquitectura |
Alumno(s) | Andro Contreras |
Profesor | Herbert Spencer |
float x, y, r, h; void setup(){ noFill (); stroke (200,330,400); size(500, 500); background (50); } void draw(){ background (10); r=0; h= (200/ 64) * -0.1; float a = (TWO_PI/ mouseX) ; beginShape(); for (float t = 200; t < TWO_PI * 100; t += a) { x = width/2 + cos(t) * r; y = height/2 + sin(t) * r; vertex(x, y); r += h; } endShape(); saveFrame ("Espiral.png"); }