function setup(){
createCanvas(600,600);
background(200);
rectMode(CENTER);
}
function draw(){
//两条腿
noStroke();
fill(225,178,158);
ellipse(200,525,100,50);
ellipse(400,525,100,50);
//身体
fill(0,0,150);
ellipse(190,400,70,100);
ellipse(450,390,70,100);
rect(300,300,200,200);
stroke(0);
strokeWeight(300);
line(300,215,300,330);
//眼睛和肚皮
fill(255);
noStroke(440,110);
ellipse(230,220,120,40);
ellipse(370,220,120,140);
ellipse(300,395,170,180);
//眼球
fill(420,110,110);
ellipse(230,220,15,15);
ellipse(370,220,15,15);
//嘴巴
noStroke();
fill(275,160,45);
triangle(285,230,315,250,310,295);
}
console