Francisca Romero, Tarea 3, imagen escrita

De Casiopea
Francisca Romero, Tarea 3, Imagen Escrita



TítuloFrancisca Romero, Tarea 3, Imagen Escrita
Palabras Clavetarea 3
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)Francisca Romero Bugueño
ProfesorHerbert Spencer
 

void graficar(float amplitud, float frecuencia) { 
  float ant = 100, act = 10; 
  for (int x=5;x<=700;x+=3) { 
    act = amplitud*sin(radians(frecuencia*x)); 
    line(x-50, 450+ant, x, 400+act); 
    ant=act;
  }
} 
void setup() { 
  size(700, 700); 
  background(#1671ED); 
  frameRate(100);
} // 

void draw() { 
  background(230); 
  graficar((500-mouseY)/10, mouseX/6);
}