Isaías de la Sotta: elipse

De Casiopea
Espiral


TítuloEspiral
Palabras Clavetarea 2
AsignaturaImagen Escrita
Del CursoImagen Escrita 2013 - ARQ,
CarrerasArquitectura
Alumno(s)Isaías de la Sotta
ProfesorHerbert Spencer

float x, y, r, h;

 void setup(){

float x, y, r, h;

noFill (); stroke (150,280,360); size(400, 330); background (#9000CC); } void draw(){ r=y;

h= (145/ 90) * -0.1;

float a = (TWO_PI/ mouseX) ;

beginShape();

 for (float t = 50; t < TWO_PI * 75; t += a) {
 x = width/8 + cos(t) * r;
 y = height/3 + sin(t) * r; 
 vertex(x, y);
 r += h;
}

endShape();

}