Javiera Johnson: Espiral
De Casiopea
Título | Javiera Johnson: Espiral |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 2 |
Asignatura | Imagen Escrita, |
Del Curso | Imagen Escrita 2013 - ARQ, |
Carreras | Arquitectura |
Alumno(s) | Javiera Johnson |
Profesor | Herbert Spencer |
void setup () { size (500, 500);//tamaño película noFill (); //sin relleno background (255); //fondo blanco } void draw () { float x, y, r, rInc; rInc = (mouseX/100) *0.1; r = 0; float inc = TWO_PI/mouseX; beginShape (); stroke (#FC0800); strokeWeight (1); for (float t = 0; t < TWO_PI*100; t+= inc) { x = width/2 + cos(t) *r; y = height/2 + sin(t) * r; vertex (x, y); r+= rInc; } endShape (); saveFrame ("Javiera_Johnson_Espiral.jpg"); }