xxxxxxxxxx
var clouds = [];
function setup() {
createCanvas(windowWidth, windowHeight);
background(100);
for(var n = 0; n<1; n++){
clouds.push(new Cloud(windowWidth/2, windowHeight/2));
}
}
function draw() {
background (103,217,243);
clouds.map(function(cloud){
cloud.draw();
})
}
function Cloud(x,y){
this.x = x;
this.y = y;
this.draw = function(){
noStroke();
fill(random(200,255));
ellipse(x,y,100,100);
};
}