Ithan Cabrera - Curva Gráfica - Imagen Escrita

De Casiopea
Tarea N° 3 Imagen Escrita 2012, Ithan Cabrera,


TítuloTarea N° 3 Imagen Escrita 2012, Ithan Cabrera
Tipo de ProyectoProyecto de Curso
Palabras Claveprocessing, tarea 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)Ithan Cabrera
ProfesorHerbert 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);
}