Javiera Martinez, Espiral

De Casiopea
La versión para imprimir ya no se admite y puede contener errores de representación. Actualiza los marcadores del navegador y utiliza en su lugar la función de impresión predeterminada del navegador.


TítuloEspiral
Palabras Clavetarea 3
Período2013-2013
AsignaturaImagen Escrita 2013 - DIS,
Del CursoImagen Escrita 2013 - DIS,
CarrerasDiseño Gráfico"Diseño Gráfico" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property., Diseño Industrial"Diseño Industrial" is not in the list (Arquitectura, Diseño, Magíster, Otra) of allowed values for the "Carreras Relacionadas" property.
Alumno(s)Javiera Martínez
ProfesorHerbert Spencer

float i, z, x, rInc;

void setup() {

size(500, 500);
fill(5);

}

void draw() {

background(255);
rInc = (25);      
x = 6;

float inc = TWO_PI / 5; 

beginShape();
        for (float a = 1; a < TWO_PI * mouseX/width * 5; a += inc) {
           i = width/3 + cos(a) *x;
          z = height/2 + sin(a) *x;
 
   vertex(i, z);
   x += rInc;
   stroke(3);
   strokeWeight(5);
 }
 endShape();
 ellipse(width/8, height/5, 3, 1);

}