xxxxxxxxxx
let w = 600;
let h = 600;
let b = 1;
function setup() {
createCanvas(w, h);
background(255);
let x = width/2;
let y = height/2;
let diameter = height;
for (let i = 0; i < 50; i++) {
noStroke();
fill(random(150,255),random(10,125),random(0,55),50);
rect(0, 0, width, diameter);
diameter = diameter / 1.5;
}
}
function draw() {
fill(random(150,255),random(10,125),random(0,55),150);
ellipse(100,200,110,110);
noLoop();
for(i = 0; i< w; i++){
let randomHeight = noise(i * 0.0135) * h/1.2;
stroke(0)
line(i, h, i, randomHeight);
}
noStroke();
fill(0,0,85,200);
ellipse(500,650,700,250);
for(i=0;i<4;i++){
fill(255,255,255,190);
ellipse(random(width),random(100,400),random(50,150),random(20,30));
}
}