Ignacio Favilla: Espiral
De Casiopea
Título | Espiral |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 2 |
Período | 2013- |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita 2013 - ARQ, |
Carreras | Arquitectura |
Alumno(s) | Ignacio Favilla |
Profesor | Herbert Spencer |
float x, y, r, h;
void setup(){ noFill (); stroke (150,430,500); size(600, 600); }
void draw(){ background (#FFCC00); r=0; h= (100/ 64) * -0.1; float a = (TWO_PI/ mouseX) ; beginShape(); for (float t = 30; t < TWO_PI * 80; t += a) { x = width/4 + cos(t) * r; y = height/1.5 + sin(t) * r; vertex(x, y); r += h; } endShape();
saveFrame("ESPIRAL.png");
}