Saltar al contenido Saltar a la navegación

Constanza Valdivia: Identidad Circular


TítuloIdentidad Circular
Palabras Clavetarea 3
AsignaturaImagen Escrita,
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)Constanza Valdivia



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

void draw() {
  background(241,247,65);
  stroke(123,159,234);
  strokeWeight(8);
  fill(241,247,65);

  float x, y, r, rInc; 

  r = 0;
  rInc = mouseX/50;  


  r = 0;
  rInc = mouseX/50;
  float inc = TWO_PI /10;

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

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

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