xxxxxxxxxx
79
function setup() {
createCanvas(400, 500);
}
function draw() {
background(150);
//shadow of face
noStroke();
fill(0, 0, 0);
ellipse(220, 270, 350, 450);
//face
noStroke();
fill(255, 223, 199);
ellipse(210, 270, 350, 450);
//SIDE BANG
stroke(1);
strokeWeight(2);
noFill();
line(170, 70, 390, 305);
stroke(1);
strokeWeight(2);
noFill();
line(170, 70, 44, 200);
//nose
noFill();
stroke(1);
strokeWeight(2);
arc(160, 320, -160, 120, 1, PI + HALF_PI);
//lip
noStroke();
fill(245, 157, 157);
ellipse(200, 420, 80, 40);
//inside the mouth
noStroke();
fill(176, 127, 127);
ellipse(200, 428, 67, 26);
//eyes
fill(255);
ellipse(100, 225, 70, 35);
ellipse(240, 225, 70, 35);
//Black part of eye
fill(51, 13, 13);
circle(100, 225, 25, 25);
circle(240, 225, 25, 25);
//Light reflection to the eye
fill(255);
ellipse(90, 225, 10, 10);
ellipse(230, 225, 10, 10);
//Double Eye lid
stroke(122, 105, 87);
strokeWeight(1.5);
noFill();
arc(100, 223, 70, 35, PI, TWO_PI);
stroke(122, 105, 87);
strokeWeight(1.5);
arc(240, 223, 70, 35, PI, TWO_PI);
//Ear shadow
stroke(10);
strokeWeight(1);
arc(328, 322, 60, 90, PI, HALF_PI);
//earring
fill(250);
noStroke();
circle(330, 365, 20, 20);
}