Martin Araneda proyecto 3
De Casiopea
Título | Martin Araneda proyecto 3 |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 3 |
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. |
Profesor | Herbert Spencer |
void graficar(float amplitud, float frecuencia){
float ant = 0, act = 0; for(int x=2;x<=700;x+=1){ act = amplitud*sin(radians(frecuencia*x)); line(x-2,400+ant,x,400+act); ant=act; }
} void setup(){
size(700,700); background(230); frameRate(70);
}
void draw(){
background(230); graficar((700-mouseY)/4,mouseX/6);
}