top of page

REPETITIVE PATTERN

05   /   09   /   2018

WORK 6

​

I went to some event at Saturday yesterday, and I took a picture of the artist. I saw a lot of people in front of the stage. So, i decided to make a repetitive pattern of the peoples. But i got a difficulties to make it, so i find some reference of "crowded people" and i got the sketch of it.

​


void setup() {
   size(700, 600);
   
}

void draw() {
  background(0);
 
  drawFace(10, 10);
  drawFace(290, 90);
  drawFace(60, 400);
  drawFace(390, 370);
  drawFace(600, 100);
  
  drawEye(10, 10);
  drawEye(290, 90);
  drawEye(60, 400);
  drawEye(390, 400);
  drawEye(400, 200);
  drawEye(200, 500);
  drawEye(200, 360);
  drawEye(290, 260);
  drawEye(160, 100);
  drawEye(9, 200);
  drawEye(400, 60);
  drawEye(600, 70);
  drawEye(500, 500);
  drawEye(500, 350);
  drawEye(600, 290);

  drawEye2(5, 4);
  drawEye2(280, 80);
  drawEye2(150, 90);
  drawEye2(280, 250);
  drawEye2(400, 50);
  drawEye2(600, 60);
  drawEye2(5, 190);
  drawEye2(60, 390);
  drawEye2(190, 350);
  drawEye2(380, 389);
  drawEye2(389, 190);
  drawEye2(490, 490);
  drawEye2(200, 490);
  drawEye2(500, 340);
  drawEye2(586, 280);
}

void drawFace(float x, float y) {
  pushMatrix();
  translate(x, y);
  fill(255, 195, 198);
  ellipse(69, 55, 150, 200);
  fill(91, 224, 243);
  ellipse(200, 5, 100, 100);
  fill(162, 242, 100);
  ellipse(200, 160, 150, 140);
  fill(255, 234, 140);
  ellipse(50, 230, 100, 100);
  popMatrix();

}

void drawEye(float x, float y) {
  pushMatrix();
  translate(x, y);
  fill(255);
  ellipse(46, 35, 20, 10);
  ellipse(90, 35, 20, 10);
  popMatrix();
}

void drawEye2(float x, float y) {
  pushMatrix();
  translate(x, y);
  fill(0);
  ellipse(55, 45, 5, 5);
  ellipse(100, 45, 5, 5);
  popMatrix();
}

bottom of page