Ithan Cabrera - Curva Gráfica - Imagen Escrita
De Casiopea
Título | Tarea N° 3 Imagen Escrita 2012, Ithan Cabrera |
---|---|
Tipo de Proyecto | Proyecto de Curso |
Palabras Clave | processing, tarea 3 |
Período | 2012-2012 |
Asignatura | Imagen Escrita 2012, |
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) | Ithan Cabrera |
Profesor | Herbert Spencer |
miles de unidades de cuadrados diminutos en una correcta ubicación pueden provocar la percepción de curva ante el ojo humano
void setup() { size (700, 700); background(0); frameRate (100); } void process (float extension, float repeticion) { float ant = 0, act = 0; for (int x=0;x<=700;x+=2) { act = extension*sin(radians(repeticion*x)); line (x+7, 300-ant, x, 10+act); ant=act; } } void draw() { background(0); stroke (50, 110, 70); strokeWeight (2); smooth (); process(mouseY+10, mouseX/4); }