// Lee Chu
// section c
// face-01
function setup() {
createCanvas(600, 600);
background(127);
// blue ribbons
fill('cyan');
strokeWeight(0);
rect(10, 0, 80, 600);
rect(110, 0, 80, 600);
rect(210, 0, 80, 600);
rect(310, 0, 80, 600);
rect(410, 0, 80, 600);
rect(510, 0, 80, 600);
// orange ribbons
fill('orange');
rect(0, 10, 600, 80);
rect(0, 110, 600, 80);
rect(0, 210, 600, 80);
rect(0, 310, 600, 80);
rect(0, 410, 600, 80);
rect(0, 510, 600, 80);
// cyan fillers
fill('cyan');
rect(110, 10, 80, 80);
rect(310, 10, 80, 80);
rect(510, 10, 80, 80);
rect(10, 110, 80, 80);
rect(210, 110, 80, 80);
rect(410, 110, 80, 80);
rect(110, 210, 80, 80);
rect(310, 210, 80, 80);
rect(510, 210, 80, 80);
rect(10, 310, 80, 80);
rect(210, 310, 80, 80);
rect(410, 310, 80, 80);
rect(110, 410, 80, 80);
rect(310, 410, 80, 80);
rect(510, 410, 80, 80);
rect(10, 510, 80, 80);
rect(210, 510, 80, 80);
rect(410, 510, 80, 80);
// circles
fill('white');
ellipse(0, 0, 20, 20);
ellipse(100, 0, 20, 20);
ellipse(200, 0, 20, 20);
ellipse(300, 0, 20, 20);
ellipse(400, 0, 20, 20);
ellipse(500, 0, 20, 20);
ellipse(600, 0, 20, 20);
ellipse(0, 100, 20, 20);
ellipse(100, 100, 20, 20);
ellipse(200, 100, 20, 20);
ellipse(300, 100, 20, 20);
ellipse(400, 100, 20, 20);
ellipse(500, 100, 20, 20);
ellipse(600, 100, 20, 20);
ellipse(0, 200, 20, 20);
ellipse(100, 200, 20, 20);
ellipse(200, 200, 20, 20);
ellipse(300, 200, 20, 20);
ellipse(400, 200, 20, 20);
ellipse(500, 200, 20, 20);
ellipse(600, 200, 20, 20);
ellipse(0, 300, 20, 20);
ellipse(100, 300, 20, 20);
ellipse(200, 300, 20, 20);
ellipse(300, 300, 20, 20);
ellipse(400, 300, 20, 20);
ellipse(500, 300, 20, 20);
ellipse(600, 300, 20, 20);
ellipse(0, 400, 20, 20);
ellipse(100, 400, 20, 20);
ellipse(200, 400, 20, 20);
ellipse(300, 400, 20, 20);
ellipse(400, 400, 20, 20);
ellipse(500, 400, 20, 20);
ellipse(600, 400, 20, 20);
ellipse(0, 500, 20, 20);
ellipse(100, 500, 20, 20);
ellipse(200, 500, 20, 20);
ellipse(300, 500, 20, 20);
ellipse(400, 500, 20, 20);
ellipse(500, 500, 20, 20);
ellipse(600, 500, 20, 20);
ellipse(0, 600, 20, 20);
ellipse(100, 600, 20, 20);
ellipse(200, 600, 20, 20);
ellipse(300, 600, 20, 20);
ellipse(400, 600, 20, 20);
ellipse(500, 600, 20, 20);
ellipse(600, 600, 20, 20);
//dish
fill(color(255, 255, 213));
strokeWeight(1);
ellipse(300, 420, 225, 60);
noFill();
strokeWeight(.5);
ellipse(300, 420, 160, 35);
}
function draw() {
// face
strokeWeight(1);
fill('white');
ellipse(300, 300, 200, 250);
// eyes
fill('black');
ellipse(260, 300, 15, 15);
ellipse(340, 300, 15, 15);
// eyebrows
beginShape();
vertex(270, 270);
vertex(275, 280);
vertex(250, 270);
endShape();
beginShape();
vertex(330, 270);
vertex(325, 280);
vertex(350, 270);
endShape();
// mouth
noFill();
strokeWeight(2.5);
arc(290, 310, 20, 20, 0, PI);
arc(310, 310, 20, 20, 0, PI);
// blush
fill(color(255, 218, 255));
strokeWeight(0);
ellipse(360, 325, 40, 20);
ellipse(240, 325, 40, 20);
}
egg