Author Archive

Touch-Code

float faceW;
float faceH;
float eye1x;
float eye2x;
float eyeball1;
float eyeball2;
float eyeY;
float nose1;
float nose2;
float brow1;
float brow2;
float mouth1;
float el= 20;
float fc=250;
float fa=425;
void setup() { // setup() does not return a value
size(500, 500);
noStroke();
faceW=425;
faceH=425;
eye1x=160;
eye2x=331;
eyeY=186;
brow1=104;
brow2=284;
mouth1=356;
eyeball1=25;
eyeball2=10;
}
void draw() { // draw() does not return a value
background(60, 179, 113);
//head
fill(255, 222, 173);
ellipse(250,250,faceW,faceH);
//1st eye
fill(255, 255, 255);
ellipse(eye1x,eyeY, 65, 60);
fill(60, 179, 113);
ellipse(eye1x, eyeY,25,25);
fill(0, 0, 0);
ellipse(eye1x, eyeY,10,10);
//2nd eye
fill(255, 255, 255);
ellipse(eye2x,eyeY, 63, 58);
fill(60, 179, 113);
ellipse(eye2x,eyeY, 25, 25);
fill(0, 0, 0);
ellipse(eye2x,eyeY, 10, 10);

//Eyebrows
fill(139, 69, 19);
rect(brow1, 125, 129, 20);
rect(brow2, 125, 129, 20);
//Nose
noStroke();
stroke(0, 0, 0);
line(210, 260, 248, 187);
noStroke();
stroke(0, 0, 0);
line(210, 260, 267, 267);
noStroke();
//mouth
//rotate(-.019);
fill(255, 255, 255);
ellipse(245,mouth1, 175, 175);
fill(255, 222, 173);
rect(157,267,185,87);
fill(0, 0, 0);
//hair
fill(139, 69, 19);
rect(85, 37, 115, 27);
rect(100, 25, 117, 30);
rect(123, 63, 105, 42);
rect(134, 57, 135, 54);
rect(157, 42, 167, 52);
rect(76, 76, 89, 42);
rect(220, 9, 170, 52);
rect(205, 3, 78, 42);
rect(267, 42, 224, 76);
rect(55, 100, 35, 100);
//Beard
fill(139, 69, 19);
point(239, 43);
if(mousePressed){
faceW=random(350,500);
faceH=random(360,500);
eye1x=random(135,205);
eye2x=random(295,400);
eyeY=random(175,200);
brow1=random(84,124);
brow2=random(264,304);
eyeball1=random(20,30);
eyeball2=random(0,20);
mouth1=random(345,374);

}

//print(mouseY);
//print(mouseX);
//Y=A X=B
//143
}

My Code

void setup() {  // setup() does not return a value
  background(60, 179, 113);
  size(500, 500);
  noStroke();
}
void draw() {  // draw() does not return a value
  fill(255, 222, 173);
  ellipse(250, 250, 425, 425);
  fill(255, 255, 255);
  ellipse(160, 186, 65, 60);
  fill(60, 179, 113);
  ellipse(160, 187, 25, 25);
  fill(0, 0, 0);
  ellipse(160, 186, 10, 10);
  //2nd eye
  fill(255, 255, 255); 
  ellipse(333, 186, 63, 58);
  fill(60, 179, 113);
  ellipse(331, 186, 25, 25);
  fill(0, 0, 0);
  ellipse(331, 186, 10, 10);

  //Eyebrows
  fill(139, 69, 19);
  rect(104, 127, 129, 20);
  rect(284, 125, 129, 20);
  //Nose
  noStroke();
  stroke(0, 0, 0);
  line(210, 260, 248, 187);
  noStroke();
  stroke(0, 0, 0);
  line(210, 260, 267, 267);
  noStroke();
  //mouth
  //rotate(-.019);
  fill(255, 255, 255);
  ellipse(245, 356, 175, 175);
  fill(255, 222, 173);
  rect(157, 267, 185, 87);
  fill(0, 0, 0);
  //hair
  fill(139, 69, 19);
  rect(85, 37, 115, 27);
  rect(100, 25, 117, 30);
  rect(123, 63, 105, 42);
  rect(134, 57, 135, 54);
  rect(157, 42, 167, 52);
  rect(76, 76, 89, 42);
  rect(220, 9, 170, 52);
  rect(205, 3, 78, 42);
  rect(267, 42, 224, 76);
  rect(55, 100, 35, 100);
  //Beard
  fill(139, 69, 19);
  point(239, 43);
  





    //print(mouseY);
  //print(mouseX);
  //Y=A X=B
  //143
}

Max Planck Research Networks

http://max-planck-research-networks.net

I find there project to be interesting since it symbolizes connection and unity. The touchscreen, or flat surface, allows us to look at the other locations and see there other partners, almost creating a web of connections. Also the flow of energy particles help to symbolize the idea of unity since it connects all of the partners.