SOURCE

let diameter = []
function setup() {
    createCanvas(480, 480)
    background(120)
    for (let i = 0; i < 1000; i++) {
        diameter[i] = random(10, 60)
    }
    for (let i = 0; i < diameter.length; i++) {
        fill(random(255))
        ellipse(random(width), random(height), diameter[i], diameter[i]
    }
}
function draw() {
}
console 命令行工具 X clear

                    
>
console