sketch
/*Vicky Zhou
Section E
vzhou@andrew.cmu.edu
Project-01
*/
function setup() {
createCanvas(600, 600);
background(247, 204, 70, 90);
}
function draw() {
noStroke();
//hair
fill(33, 3, 3);
ellipse(300, 320, 340, 305);
ellipse(300, 165, 100, 100);
//face
fill(238, 204, 175);
ellipse(300, 330, 275, 275);
//shoulders
fill(171, 121, 59);
rect(100, 500, 390, 290, 90, 90, 0, 0);
//cheeks
fill(228, 158, 104);
ellipse(210, 390, 60, 60);
fill(228, 158, 104);
ellipse(390, 390, 60, 60);
//mouth
fill(211, 96, 78);
ellipse(305, 420, 90, 30);
fill(238, 204, 175);
ellipse(305, 405, 70, 25);
//ears
fill(238, 204, 175);
ellipse(165, 350, 50, 65);
fill(238, 204, 175);
ellipse(435, 350, 50, 65);
//nose
fill(204, 180, 149);
rect(285, 380, 40, 15, 20);
//bangs
fill(33, 3, 3);
arc(300, 240, 220, 110, HALF_PI + QUARTER_PI, TWO_PI + QUARTER_PI);
//eyebrows
fill(111, 97, 80);
rotate(radians(340));
ellipse(120, 370, 60, 25);
fill(111, 97, 80);
rotate(radians(40));
ellipse(445, 160, 60, 25);
//eyes
fill (255, 255, 255);
ellipse(350, 250, 30, 30);
fill(255, 255, 255);
ellipse(460, 210, 30, 30);
fill(34, 4, 4);
ellipse(350, 250, 19, 19);
fill(34, 4, 4)
ellipse(460, 210, 19, 19);
}