Davor: espiral

De Casiopea


TítuloIdentidad Circular: Espiral
Tipo de ProyectoProyecto de Curso
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)Davor Koscina
ProfesorHerbert Spencer


size(500, 500);
noFill();


float x, y, r, rInc;  // declara múltiples variables

rInc = (50 / 10) * .1;      // incremento del radio
r = 0;
float inc = TWO_PI / 60;  // incremento del ánculo

beginShape();
for (float t = 0; t < TWO_PI * 16; t += inc) {

  x = width/2 + cos(t) * r;
  y = height/2 + sin(t) * r;

  vertex(x, y);
  r += rInc;
}
endShape();
ellipse(width/2, height/2, 4, 4);