xxxxxxxxxx
16
let clouds = [];
function setup() {
createCanvas(600, 600);
for(let i = 0; i < 600; i++){
clouds[i] = new Cloud(random(width), random(height), random(10, 40));
}
}
function draw() {
background(0);
for(let i = 0; i < clouds.length; i++){
clouds[i].move();
clouds[i].show();
}
}