Diferencia entre revisiones de «Estudio del gesto: Palacio del Alba y el Ocaso»

De Casiopea
Línea 100: Línea 100:
<pre>
<pre>
<nowiki>
<nowiki>
//El mouse se desliza de arriba hacia abajo//
float g;


void setup() {
void setup() {
Línea 105: Línea 108:
   background(0);
   background(0);
   smooth();
   smooth();
  g = 0;
}
}


Línea 127: Línea 131:


     noStroke();
     noStroke();
     fill(255);
     fill(g);
    g = ((float)mouseY/height ) * 255;  





Revisión del 19:53 17 may 2011


TítuloEstudio del gesto: Palacio del Alba y el Ocaso
Tipo de ProyectoProyecto de Taller
Período2011-2011
AsignaturaPresentación del Diseño Industrial 3, Presentación del Diseño Gráfico 3,
Del CursoPresentación al Lenguaje Abierto,
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)Karen Carrera, Diego Cortés, Alejandra Montenegro
ProfesorHerbert Spencer, Marcelo Araya

Primera etapa

Estudio de la Obra

Palacio del Alba y el Ocaso

Hospedería Colgante

Maquetas individuales

Palacio del Alba y el Ocaso

Hospedería Colgante

Segunda etapa

Estudio de la forma

Maqueta

Tecera Etapa

Coreografía del gesto manual en processing



float g;

void setup(){
  size(200,500);
  background(0);
  g = 0;
 smooth ();
}

void draw(){
 translate(width/2, mouseY); // si quiero que el cuadrado permanesca al centro height/2
 rotate(mouseY); //controlo la rotación del cuadrado
 //background(0); //si no quiero que se vea la estela
 noStroke();
 rect(-50,-50, 100, 100);
   

 fill(g,50); //le doy opacidad
 
 g = ((float)mouseY/height ) * 200; // ((sin(((float)mouseY / width)*PI ) ) ) * 255; //controlo los espacio de negro
}


void mousePressed() {
  background(0); //al hacer click comienza a escribir sobre un negro
}

void keyPressed(){
  String nombre = ""+month()+"-"+day()+"-"+hour()+"-"+minute()+"-"+second()+"-celdas.jpg";
  saveFrame("/fotos-generadas/"+ nombre);
  println("el archivo "+nombre+" ha sido guardado exitosamente");
}


Coreografía del gesto del objeto en processing



//El mouse se desliza de arriba hacia abajo//
float g;

void setup() {
  size(200,700);
  background(0);
  smooth();
  g = 0;
}

float mouseFactor;
float y;
float largo;
float largoinicial;
float a;
float origenx;
float origeny;

void draw() {
  background(0);
  for (int x=0; x<width; x++) {

    mouseFactor = ((float)mouseX/(float)height);
    y =  height - ((float)height);

    a = PI;
    origenx = width/2;
    origeny = mouseX-largoinicial;

    noStroke();
    fill(g);
    g = ((float)mouseY/height ) * 255; 


    if(mouseX >2*width/8) {
      pushMatrix();
      translate(100,350);
      rotate(HALF_PI*mouseY/100);
      quad(-mouseY/10,-mouseY/10,-mouseY/10,mouseY/10,mouseY/10,mouseY/10,mouseY/10,-mouseY/10);

      popMatrix();
    }
  }
}