Alex Quintanilla 3
De Casiopea
Título | Alex Quintanilla 3 |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 3 |
Período | 2012- |
Asignatura | Imagen Escrita 2012, |
Del Curso | Imagen Escrita 2012, |
Carreras | Arquitectura |
Alumno(s) | Alex Quintanilla |
Profesor | Herbert Spencer |
void graficar (float amplitud, float frecuencia) {
float ant = 0, act = 0; for (int x=0;x<=800;x+=1) { act = amplitud*sin(radians(frecuencia*x)); line (x, 30+ant, x+30, 10+act); ant=act; }
} void setup() {
size (800,800); background(255,13,0); frameRate (50);
}
void draw() {
background(255,13,0); stroke (26,46,116); strokeWeight (2); graficar(mouseY, mouseX+3); }