little pictureframe is watching you again

Nikolaus Gradwohl2014-11-23T17:52:33+00:00

3 years ago I created a processing script that creates eyes in various positions, that are running on a cheapo digital piture frame - (see here little picture frame is watching you)

I created a new processing script that generates a set of eyes with eyebrows

eyes

here is the processing code - in case you want to generate some for yourself

void setup() {
  size(640,480);  
}

void draw() {

  background(0);
  fill(255);
  noStroke();
  ellipse(210,300,200,300);
  ellipse(410,300,200,300);

  float br1 = random(-PI/4,PI/4);
  pushMatrix();
  translate(210,100);
  rotate(br1);
  rect(-100,-10,200,20);
  popMatrix();
  float br2 = random(-PI/4,PI/4);
  pushMatrix();
  translate(410,100);
  rotate(br2);
  rect(-100,-10,200,20);
  popMatrix();


  fill(0 );
  float a = random(TWO_PI);
  float x = cos(a)*40;
  float y = sin(a)*70;
  ellipse(x+210,y+300,80,80);
  ellipse(x+410,y+300,80,80);
 if( frameCount < 100 ) {
  saveFrame("face-####.jpg");
  } else {
    noLoop();
  }
}
Tweet This! submit to reddit Digg! Tags: | no comments | no trackbacks

See also:

sketch experiment 7 - osc events
nested cubes in processing
processing phaseflower
Time Perception
de jong attractor

Trackbacks

Comments

Leave a response

Leave a comment