SOURCE

console 命令行工具 X clear

                    
>
console
function setup(){
    createCanvas(500,500);
    background(255);
}
function draw(){
    for(let x=40; x<width; x+=40){
        for(let y=40; y<height; y+=40){
            fill(255,255,20);
         ellipse(x,y,40,40);
    }
  }
}
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.1.9/p5.min.js"></script>