Camila Espinoza: Espiral
De Casiopea
Título | Espiral |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 2 |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita 2013 - ARQ, |
Carreras | Arquitectura |
Alumno(s) | Camila Espinoza |
Profesor | Herbert Spencer |
float x, y, r, h;
void setup(){ noFill (); stroke (100,220,300); size(500, 500); background (#FF00CC);
} void draw(){
r=0; h= (200/ 64) * -0.1; float a = (TWO_PI/ mouseX) ;
beginShape(); for (float t = 35; t < TWO_PI * 80; t += a) { x = width/1.2 + cos(t) * r; y = height/3 + sin(t) * r; vertex(x, y); r += h; } endShape();
saveFrame ("Espiraln1.png");
}