xxxxxxxxxx
21
function setup() {
createCanvas(400, 400);
rectMode(CENTER);
}
function draw() {
background(220);
// body
fill(155); // darker gray
rect(200, 250, 30, 100);
// head
fill(255); // white
ellipse(200, 200, 75, 75);
// eyes
fill(0); // black
ellipse(175, 200, 25, 40);
ellipse(225, 200, 25, 40);
// legs
line(185, 300, 170, 325);
line(215, 300, 230, 325);
}