Tuesday, 9 November 2010

DAY 42

today we made INSTALLATIONS!! we had to respond to an already existing piece and change or replace with are own. i quite enjoyed working in a group and loved the level of idea making. when one idea bounces of other peoples thoughts and evolves until it reaches a point to start creating.
the pieces we started with had this woven red cube and that was the thing i contrasted my ideas on. there was also confessions hanging around the cube. after 30mins of brain storming and thinking up ideas we came up with the idea of the red box to be realizing birds ... the birds would be peace cranes so people could make piece with there self and confessions. 
with 1 hr to go we still had nothing up so the composting although we knew we wanted to incorporate the pipe above so the form wasn't quite right (for me) but for a days work it turned out pretty well and can definitely see my self following the route of installation in unit 2 and further.



Started working on the focus part of my typography project.
after several hours of resorting to my notes and the processing.pdf book i downloaded   i managed to write this working code:

float x = 0.0;
float y = 0.0;
  float easing = 0.05;
  float easing2 = 0.04;
void setup() {
  size(100,100);
  smooth();
}


void draw() {
  background(255);
// mX and mY
float mX =constrain(x, 30, 60);
float targetX =mouseX;
x +=(targetX-x)* easing;
     float mY =constrain(y, 50, 60);
     float targetY =mouseY;
y +=(targetY-y)* easing;
// mX2 and mY2
float mX2 =constrain(x, 33, 57);
float targetX2 =mouseX;
x +=(targetX2-x)* easing2;
     float mY2 =constrain(y, 53, 57);
     float targetY2 =mouseY;
y +=(targetY2-y)* easing2;
//the shapes
  noStroke();
  fill(25,222,210);
  ellipseMode(CENTER);
  ellipse(mX2,mY2,25,25);
   fill(0,0,0,240);
  ellipse(mX,mY,15,15);
  //eye lid
  strokeWeight(8);
  strokeCap(PROJECT);
  stroke(255,238,201);
  noFill();
  if (mousePressed == true) {
  bezier(10,50,50,50,50,50,70,50);
  bezier(10,50,50,50,50,50,70,55);
  }
  else {
       bezier(10,50,50,30,55,35,70,50);
  bezier(10,60,50,70,55,75,70,55);
    }
}

do feel very geeky right now ! All that created an eye that constantly looks at the mouse on the screen then if u click i closes. hopefully with a little bit of tinkering i could substitute the simple shapes with imported photos creating a realistic image.

No comments:

Post a Comment