Macarena Caro, mouse
De Casiopea
Título | Macarena Caro, mouse |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 3 |
Período | 2012- |
Asignatura | Taller Inicial 1ª y 2ª Etapa, |
Del Curso | Imagen Escrita 2012, |
Carreras | Diseño Gráfico, Diseño Industrial |
Alumno(s) | Macarena Valentina Caro Cortes |
Profesor | Herbert Spencer |
float y, n; float m; void setup() {size(700, 700); } void cruz(float x, float y, float tam) {float t = tam+90; stroke(#F2461B); line(x-9, x*1000, y+70, x); stroke (#1BF2D4); line(y, x+60,y,x+100);} void draw() {background(255);for (int x = 80; x < height; x++) {n = norm(x, 80, height); m = map(mouseX, 60, width, 1, 25); y = pow(n, m) * height; cruz(y, x, y);cruz(x, x-y, y+x);} println(m); }