I enjoyed playing with various shapes and colors throughout this project. At times, the process was slightly tedious, but overall it was a fun and informative learning experience.
function setup() {
createCanvas(600, 600);
background(255, 229, 244);
}
function draw() {
//hair
fill(0, 0, 0);
ellipse(300, 300, 250); //top of hair
rect(175, 300, 250, 200, 0, 0, 30, 30); //bottom of hair
//neck
fill(255, 229, 196);
rect(280, 390, 40, 50);
//face
fill(255, 229, 196);
ellipse(300, 300, 200); //face shape
//facial features
//eyes
fill(255, 255, 255);
ellipse(255, 290, 30); //white of left eye
ellipse(345, 290, 30); //white of right eye
fill(0, 0, 0);
ellipse(255, 290, 17); //left pupil
ellipse(345, 290, 17); //right pupil
//mouth
fill(0, 0, 0);
arc(300, 350, 50, 50, 0, PI, CHORD);
//body
fill(200, 229, 247);
rect(210, 430, 175, 200, 60, 60, 0, 0);
}