Espiral Tomás Bustos
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) | Tomás Bustos |
Profesor | Herbert Spencer |
/ float x, y, r, h; void setup(){ noFill (); stroke (50,150,0); size(500, 500); background (225); } void draw(){ r=2; h= (100/ 66) * -0.3; float a = (TWO_PI/ mouseX) ; beginShape(); for (float t = 90; t < TWO_PI * 150; t += a) { x = width/2 + cos(t) * r; y = height/1.3 + sin(t) * r; vertex(x, y); r += h; } endShape(); }