Espiral Fernanda Vicuña

De Casiopea
Espiral


TítuloEspiral
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 2
Período2013-
AsignaturaImagen Escrita,
Del CursoImagen Escrita 2013 - ARQ,
CarrerasArquitectura
Alumno(s)Fernanda Vicuña
ProfesorHerbert 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(); }