Miguel Angel Adofacci: Tarea 03 Imagen Escrita

De Casiopea


TítuloMiguel Angel Adofacci: Tarea 03 Imagen Escrita
Palabras Clavetarea 3
Período2013-
AsignaturaImagen Escrita 2013 - DIS,
Del CursoImagen Escrita 2013 - ARQ,
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)Miguel Angel Adofacci
ProfesorHerbert Spencer

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

  noFill();
  strokeWeight(3);
  rInc = PI/ 128 ;                  // Incrementar radio

  inc = TWO_PI / 360;      // incremento del ángulo
}

float x, y, r, rInc, inc;          // Declara variables a usar

void draw() {
  r = 0;                         // Radio Inicial
  background(255);
  beginShape();
  for (float t = 0; t < TWO_PI * float(mouseX)/40; t += inc) {
    for (float rInc=TWO_PI/360; rInc<PI/90 *float(mouseY)/64; rInc*=2) {            
      x = mouseX + cos(t) * r;
      y = mouseY + sin(t) * r;

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