xxxxxxxxxx
48
function setup() {
createCanvas(400, 400);
background(248, 200, 220);
//hair behind the face - ellipse
fill(0);
ellipse(200, 150, 150, 200);
//neck
fill (210, 180, 140);
triangle(150, 270, 200, 200, 270, 300);
//face
ellipse(200, 150, 130, 150);
//torso
fill(153, 0, 76);
square(100, 250, 200, 40);
//the braids
fill(0);
ellipse(245, 250, 40, 50);
ellipse(257, 290, 40, 50);
ellipse(260, 360, 15, 70);
ellipse(254, 360, 15, 70);
ellipse(257, 330, 40, 50);
}
function draw() {
//smile
strokeWeight(4);
stroke(0);
noFill();
translate(210, 95);
rotate(70);
arc(40, 45, 80, 80, 0, HALF_PI);
rotate(-PI / 2.3);
//eyes
arc(-1, 40, 20, 20, PI + QUARTER_PI, TWO_PI);
arc(-50, 15, 20, 20, PI + QUARTER_PI, TWO_PI);
}