Paul Greenway – Project01 – Face

face

/*Paul Greenway
Section 1A
pgreenwa@andrew.cmu.edu
Assignment-01
*/


function setup() {
     createCanvas(400, 600);
     background(56,187,142);
}

function draw() {
  
     //body
     fill(127,186,197);
     rect(100,440,230,300);
  
     //hair
     fill(0,0,0);
     arc(215, 300, 350, 350, PI, TWO_PI);
  
     //hair
     fill(0,0,0);
     arc(200, 270, 340, 290, PI, PI + HALF_PI, OPEN);
  
     //hair
     fill(0,0,0);
     arc(230, 240, 340, 290, PI, 180 + HALF_PI, OPEN);
  
     //head
     fill(255,222,179);
     ellipse(200,300,300,300);
  
     //hair
     fill(0,0,0);
     arc(210, 220, 270, 150, PI, TWO_PI);
    
     //eyes
     fill(255,255,255);
     ellipse(270,270,50,40);
  
     //eyes
     fill(255,255,255);
     ellipse(130,270,50,40);
  
     //pupils
     fill(0,0,0);
     ellipse(270,270,10,10);
  
     //pupils
     fill(0,0,0);
     ellipse(130,270,10,10);
  
     //nose
     fill(210,183,147);
     rect(200,280,20,70);
  
     //mouth
     fill(0,0,0);
     ellipse(200,400,100,50);
  
     //tongue
     fill(187,7,11);
     ellipse(200,413,75,20);
    
}

When creating my self portrait I found it hard to create the exact shapes I was looking for so I ended up with a more abstract representation .

Leave a Reply