Daniela Reyes Tarea 3 Imagen escrita
De Casiopea
Título | Daniela Reyes Tarea 3 imagen escrita |
---|---|
Palabras Clave | tarea 3 |
Asignatura | Imagen Escrita 2012, Taller Inicial 1ª y 2ª Etapa, |
Del Curso | Imagen Escrita 2012, |
Carreras | Arquitectura |
Alumno(s) | Daniela Reyes |
Profesor | Helbert Spencer |
float y, n; float m;
void setup() { size(700, 700);
}
void cruz(float claw, float y, float x) {
float c = claw*8;
stroke(#045F58);
line(x, x-c, y, y-c);
}
void draw() { background(255);
for (int x = 0; x < height; x=x+2) {
n = norm(x, width, 0); m = map(mouseX, 0, width, 5,0); y = pow(n, m) * height; cruz(x, 10, y); }
println(m);
}