Martin Araneda: Tarea 3

De Casiopea
Revisión del 09:32 27 sep 2018 de Hspencer (discusión | contribs.) (Texto reemplazado: «Helbert Spencer» por «Herbert Spencer»)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)


TítuloMartin Araneda: Tarea 3
Palabras Clavetarea 3
Período2012-2012
AsignaturaImagen Escrita 2012,
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)Martin Araneda
ProfesorHerbert Spencer

void graficar(float amplitud, float frecuencia){ float ant = 0, act = 0; 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(230); frameRate(300); }

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