Diferencia entre revisiones de «Tarea Processing 3»
De Casiopea
Sin resumen de edición |
Sin resumen de edición |
||
Línea 10: | Línea 10: | ||
|Profesor=Helbert Spencer, | |Profesor=Helbert Spencer, | ||
|Alumnos=Antonia Lara, | |Alumnos=Antonia Lara, | ||
|Imagen=tare xy.JPG | |||
}} | }} | ||
void graficar(float amplitud, float frecuencia){ | void graficar(float amplitud, float frecuencia){ |
Revisión del 01:31 31 may 2012
Título | Antonia Lara: Tarea 3 |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | tarea 3, imagen escrita 2012 |
Período | 2012-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) | Antonia Lara |
Profesor | Helbert Spencer |
void graficar(float amplitud, float frecuencia){ float ant = 0, act = 0; for(int x=2;x<=500;x+=1){ act = amplitud*cos(radians(frecuencia*x)); line(x+1,200+ant,x,400+act); ant=act; } } void setup(){ size(700,700); background(230); frameRate(50); }
void draw(){ background(230); graficar((700-mouseY)/2,mouseX/10); }