Valentina Cornejo, tarea 3

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ítulo}}}


Título
Palabras ClaveTarea 3
Período2012-
AsignaturaImagen Escrita 2012,
Del CursoTaller Inicial Común 1ª y 2ª Etapa,
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)Valentina Cornejo
ProfesorHerbert Spencer

void graficar(float amplitud, float frecuencia){ float ant = 10, act = 50; for(int x=2 ;x<=700;x+=2){ act = amplitud*cos(radians(frecuencia*x)); line(x+2,400+ant,x+2,400+act); ant=act; } } void setup(){ size(700,700); background(#A901DB); frameRate(500); }

void draw(){ background(#E3CEF6); graficar((10-mouseY)/2,mouseX/3); }