Florencia Salgado Proyecto final - Imagen Escrita T1 2019

De Casiopea


TítuloFlorencia Salgado Proyecto final - Imagen Escrita T1 2019
Tipo de ProyectoProyecto Propio
Palabras Claveimagen escrita, gif
AsignaturaImagen Escrita T1 2019
Del CursoImagen Escrita T1 2019
CarrerasArquitectura
Alumno(s)Florencia Salgado

Estado final


Proceso creativo

La idea se basa en la geometría de un mandala. Se genera el dibujo geométrico a partir de un espiral que varía en función del movimiento del mouse en el eje Y.




float x, y, r, e; 
float i = 0;
float h = 0;

void setup() {
  size(800, 800);
  smooth();
}

void draw() {

  background (#6486A2);
  float sw = map(mouseY, 0, height, 0.2, 1);
  strokeWeight(sw);
  fill(0, 0, 0, 0.1);
  stroke (255, 255, 255, 70);

  h= random(100);
  i=random(255);

  r=0; 
  float a = (TWO_PI * 20 / mouseY);
  e= (mouseY/ 6) * 0.2;
  r= (mouseY/(float) width) * 20;

  beginShape();
  for (float t = 0; t < TWO_PI * 70; t += a) {
    x = width/2 + cos(t)*r;
    y = height/2 + sin(t) * r;

    float nx = width/2 + cos(t+210000) *r +1;
    float ny = height/2 + sin(t+210000) *r+1;

    stroke(t, i, 255);
    line(x, y, nx, ny);

    r += e;
  } 
  endShape();
  if (key=='s') {
    saveFrame("proyecto imagen escrita 2019-###.png");
  }
}