Consuelo Santis: Identidad circular

De Casiopea


TítuloIdentidad circular, remolino
Tipo de ProyectoProyecto de Taller
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)Consuelo Santis Escudero
ProfesorHerbert Spencer

void setup() {
  size(500, 500);
  noFill();
}

void draw() {
  background(255);

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

  r = 0;
  rInc = mouseX/8;  


  r = 0;
  rInc = mouseX/90;
  float inc = TWO_PI / 24;

  beginShape();
  for (float t = 0; t < TWO_PI * mouseX/100; t += inc) {

    x = mouseX + cos(t) * r/3;
    y = mouseY + sin(t) * r/3;

    vertex(x, y);
    r += rInc;
  }
  endShape();
}