sketch
//Alison Hoffman
//Section D
//achoffma@andrew.cmu.edu
//Project-01
function setup() {
createCanvas(600, 600);
background(0,204,204);
}
function draw() {
noStroke();
//background hair
fill(202,179,62);
ellipse(width/2,height/2+100,400,630);
//face base
fill(255,218,185);//neck
rect(width/2 - 80, height/2 +100,160,340);
fill(75,75,75);
ellipse(width/2,height/2+10,290,375); //shadow
fill(255,218,185);//face
ellipse(width/2,height/2,300,380);
//shoulders
fill(255,218,185);
ellipse(width/2,height/2+306,434,180);
//shirt
fill(153,0,0);
rect(168,588,257,40);
stroke(153,0,0);
strokeWeight(18);
strokeCap(SQUARE);
line(168,532,168,600); //left strap
line(430,532,430,600);
//face
//eyes
fill(0);
noStroke();
ellipse(width/2 - 55,height/2 - 25,44,26);
ellipse(width/2 + 55,height/2 - 25,44,26);
fill(255);
noStroke();
ellipse(width/2 - 55,height/2 -20,40,28);//left
ellipse(width/2 + 55,height/2 -20,40,28);//right
fill(0,140,180);//iris
ellipse(width/2 - 55,height/2 -18,20);//left
ellipse(width/2 + 55,height/2 -18,20);//right
fill(0);//pupils
ellipse(width/2 - 55,height/2 -18,12);//left
ellipse(width/2 + 55,height/2 -18,12);//right
//nose
stroke(223,184,150);
strokeWeight(4);
line(width/2,height/2 - 2,width/2 + 9,height/2 +66);
line(width/2 - 14,height/2 + 66,width/2 + 11,height/2 +66);
//mouth
fill(219,111,111);
noStroke();
triangle(width/2-42,height/2 + 120,width/2+20,height/2+120,width/2+24,height/2+106);
triangle(width/2+8,height/2+120,width/2+20,height/2+120,width/2+40,height/2+90);
fill(239,133,133);
triangle(width/2-42,height/2 + 120,width/2+20,height/2+120,width/2+20,height/2+122);
triangle(width/2+16,height/2+122,width/2+22,height/2+122,width/2+40,height/2+90);
//bangs
fill(202,179,62);
ellipse(width/2,height/2 -156,200,70);
triangle(width/2 -174,height/2-10,width/2+25,height/2-122,width/2-30,height/2-155);
triangle(width/2 -174,height/2-10,width/2-110,height/2-150,width/2-20,height/2-155);
triangle(width/2 +174,height/2-25,width/2+25,height/2-122,width/2+110,height/2-161);
noLoop();
}