Luciano Morales curva en grafico
De Casiopea
Título | Luciano Morales Saavedra curva en gráfico |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 3 |
Período | 2012- |
Asignatura | Taller Inicial Común 1ª y 2ª Etapa, |
Del Curso | Imagen Escrita 2012, |
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) | Luciano Morales |
Profesor | Herbert 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); }