SOURCE

let d=[];
let c=[];

function setup(){
    createCanvas(500,500);
    background(220);
    for(let i=0;i<1000;i++){
        d[i]=random(20,50);
        c[i]=random(255);
        
    }
    for(let i=0;i<1000;i++){
        fill(random(255));
        ellipse(random(500),random(500),d[i],d[i]);
        for(let i=0;i<24;i++){
        let index = i*3;
        fill(c[index],c[index+1],c[index+2]);
        ellipse(i*20,0,20,height);
        
        }
    }

    }
console 命令行工具 X clear

                    
>
console