Javiera Martinez, Espiral
De Casiopea
Título | Espiral |
---|---|
Palabras Clave | tarea 3 |
Período | 2013-2013 |
Asignatura | Imagen Escrita 2013 - DIS, |
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) | Javiera Martínez |
Profesor | Herbert Spencer |
float i, z, x, rInc;
void setup() {
size(500, 500); fill(5);
}
void draw() {
background(255); rInc = (25); x = 6; float inc = TWO_PI / 5; beginShape(); for (float a = 1; a < TWO_PI * mouseX/width * 5; a += inc) { i = width/3 + cos(a) *x; z = height/2 + sin(a) *x; vertex(i, z); x += rInc; stroke(3); strokeWeight(5); } endShape(); ellipse(width/8, height/5, 3, 1);
}