Espiral Fernanda Vicuña
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) | Fernanda Vicuña |
Profesor | Herbert Spencer |
float x, y, r, h; void setup(){
noFill();
size(400, 400); background (#FF5555); } void draw (){
r=0; h= (100/100) * -2;
float a = (TWO_PI/ mouseY) ;
beginShape();
for (float t = 100; t < TWO_PI * 50; t+=a) {
x = width/4 + cos(t) * r; y = height/4 + sin(t) * r; vertex(x,y); r += h;
}
endShape(); }