SOURCE

console 命令行工具 X clear

                    
>
console
function setup(){
    createCanvas(500,500);
    background(200);
    colorMode(HSB,360,100,100,1);
}
function draw(){
    fill(35,81,92);
    triangle(100,100,400,100,250,400);
    fill(0,0,0);
    ellipse(250,400,50,50);
    fill(60,0,100);
    ellipse(260,390,10,10);
    line(230,320,100,350);
    line(220,300,90,310);
    line(270,320,400,350);
    line(280,300,410,310);
    fill(0,20,20,);
    triangle(100,100,180,100,140,40);
    fill(60,0,100);
    triangle(120,100,160,100,140,70);
    fill(0,20,20,);
    triangle(320,100,400,100,360,40);
    fill(60,0,100);
    triangle(340,100,380,100,360,70)
    fill(0,0,80);
    ellipse(200,200,70,70);
    ellipse(300,200,70,70);
    fill(0,0,10);
    ellipse(200,200,20,20);
    ellipse(300,200,20,20);
    fill(0,0,100);
    ellipse(205,195,10,10);
    ellipse(305,195,10,10);

}
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.min.js"></script>