xxxxxxxxxx
23
function setup() {
createCanvas(400, 400);
strokeWeight(10);
}
function draw() {
background(220);
// Draw the background of the face
square(80, 100, 220);
// Draw the eye
ellipse(190, 100, 180, 80);
circle(160, 100, 20);
point(160, 100);
line(100, 70, 140, 50);
// Draw the mouth
rect(140, 230, 180, 60);
// Draw the nose
triangle(170, 200, 230, 200, 200, 160);
}