SOURCE

function setup(){
   createCanvas(600,600);
   background(200);
   rectMode(CENTER);
}
function draw(){
   //两条腿
   noStroke();
   rect();
   ellipse(200,525,100,50);
   ellipse(400,525,100,50);
   //身体
   fill(0,200,150);
   ellipse(150,390,60);
   ellipse(450,390,60);
   rect(300,400,300,1);
   stroke(0);
   strokeWeight(300);
   line(300,215,300,330);
   //眼睛和肚皮
   fill(255);
   noStroke();
   ellipse(230,220,120,50);
   ellipse(370,220,120,50);
   ellipse(300,395,0,220);
   //眼球
   fill(240,100,100);
   ellipse(230,220,15,15);
   ellipse(370,220,15,15);
   //嘴巴
   ellipse;
   ellipse();
   ellipse(295,300,60);
}
console 命令行工具 X clear

                    
>
console