Fernanda Adam tarea 3
De Casiopea
Título | Fernanda Adam, curva matemática |
---|---|
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) | Fernanda Adam |
Profesor | Herbert Spencer |
void graficar(float amplitud, float frecuencia){
float ant = 0, act = 0; for(int x=0;x<=500;x+=3){ act = amplitud*cos(radians(frecuencia*x)); line(x-4,250+ant,x,250+act); ant=act; }
} void setup(){
size(500,500); background(250); frameRate(10);
}
void draw(){
background(250); graficar((250-mouseY)/1,mouseX/50);
}