Juan Pablo Vergara: Proyecto espiral imagen escrita

De Casiopea


Títuloespiral imagen escrita
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 3
Período2013-2013
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)Juan Pablo Vergara
ProfesorHerbert Spencer

void setup() {       // tarea identidad circular
size(500, 500);
noFill();
}
void draw() {
background(255);

  float x, y, r, rInc;  

r = 0;
rInc = mouseX/4;  
r = 0;
rInc = mouseX/90;
float inc = TWO_PI / 128;

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

  x = mouseX + cos(t) * r/8;
  y = mouseY + sin(t) * r/8;
  vertex(x, y);
  r += rInc;    
}
endShape();
}