Matias Chacon parabola

De Casiopea
La versión para imprimir ya no se admite y puede contener errores de representación. Actualiza los marcadores del navegador y utiliza en su lugar la función de impresión predeterminada del navegador.


TítuloMatias Chacon parabola 3era tarea
Tipo de ProyectoProyecto de Taller, Proyecto de Curso
Palabras Clavetarea 3, imagen escrita 2012
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)Matias Chacon
ProfesorHerbert Spencer

float y, n; float m;

void setup() {

size(800, 1000); }

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

float t = tam*1; stroke(7982 ); line(x,y,x-y,x*y); stroke (#000000); line(x,y,x+y,y-x);

}

void draw() {

background(987355); /* */ for (int x = 0; x < height; x++) {

 n = norm(x, 0, height); 
 m = map(mouseX, 0, width, 1, 25);
 y = pow(n, m) * height;  
 cruz(x, y, x);
 cruz(x, x-y, y+x);

} println(m); }