Barbara Madariaga: Espiral
De Casiopea
Título | Espiral |
---|---|
Palabras Clave | Tarea 3 |
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) | Barbara Madariaga |
Profesor | Herbert Spencer |
void setup() { size(500, 500); fill(255, 0, 0); } void draw() { mouseX = width/2; mouseY = height/2; background(255); stroke(18, 255, 3); strokeWeight(4); float x, y, r, rInc; r = 9; rInc = mouseX/4; r = 3; rInc = 80/70; float inc = TWO_PI /120; beginShape(); for (float t = 0; t < TWO_PI * mouseX/20; t += inc) { x = mouseX + cos(t) * r/6; y = mouseY + sin(t) * r/6; vertex(x, y); r += rInc; } endShape(); saveFrame("barbaramadadiaga-tareaciclo.jpg"); exit(); }