Luciano Morales curva en grafico

De Casiopea
Luciano Morales Saavedra curva en gráfico


TítuloLuciano Morales Saavedra curva en gráfico
Tipo de ProyectoProyecto de Curso
Palabras Clavetarea 3
Período2012-
AsignaturaTaller Inicial Común 1ª y 2ª Etapa,
Del CursoImagen Escrita 2012,
CarrerasDiseñ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)Luciano Morales
ProfesorHerbert Spencer
curva que responden con el mouse .
float y, n; float m;

void setup() {

size(700, 700);
}


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

float c = claw*30; 
stroke(#599312);
line(x, 300-300, 50/300, y*c);


}

void draw() {

background(#F9EA14);  


for (int x = 0; x < height; x=x+2) {
  n = norm(x, width, 50); 
  m = map(mouseX, 30, width, 80,0);
  y = pow(n, m) * height;  
  cruz(x, y, 2);
}
println(m); 
}