Karla Santibáñez - Tarea 3

De Casiopea


TítuloKarla Santibañez - Tarea 3
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 3
Período2012-
AsignaturaTaller Inicial 1ª y 2ª Etapa,
Del CursoImagen Escrita 2012,
CarrerasArquitectura
Alumno(s)Karla Santibáñez
ProfesorHerbert Spencer

float y, n; float m;

void setup() {

size(500, 500); }


void cruz(float x, float y, float claw) {

float c = claw*56; stroke(#443333); line(x, 150-200, 100/300, y*c);


}

void draw() {

background(16);


for (int x = 0; x < height; x=x+2) {

 n = norm(x, width, 100); 
 m = map(mouseX, 10, width, 8,0);
 y = pow(n, m) * height;  
 cruz(x, y, 10);

} println(m); }