Juan Pablo Vergara: Proyecto espiral imagen escrita
De Casiopea
| Título | espiral imagen escrita |
|---|---|
| Tipo de Proyecto | Proyecto de Curso |
| Palabras Clave | tarea 3 |
| Período | 2013-2013 |
| Asignatura | Imagen Escrita, |
| Del Curso | Imagen Escrita 2013 - DIS, |
| Carreras | Diseñ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 |
| Profesor | Herbert 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();
}