let baseY = random(175, 200);
let colorH = random(0, 360);
let colorS = random(0, 20);
let colorB = random(60, 80);
let midPoint = width / 2;
for (let i = 0; i <= midPoint; i++) {
let noiseValueLeft = noise(i) * 15;
let noiseValueRight = noise(width - i) * 15;
stroke(colorH, colorS, colorB + noiseValueLeft);
stroke(colorH, colorS, colorB + noiseValueRight);
line(width - i, 0, width - i, height);
for (let x = 0; x < width;) {
let colorH = random(50, 250);
let colorS = random(0, 10);
let colorB = random(70, 80);
fill(colorH, colorS, colorB);
peakHeight = random(70, 130);
let middleX = x + random(40, 80);
let middleY = leftY - peakHeight;
let rightX = middleX + random(40, 80);
triangle(leftX, leftY, middleX, middleY, rightX, rightY);
fill(colorH + 50, colorS + 20, colorB - 10);
triangle(leftX + shadow, leftY, middleX + shadow, middleY - shadow, rightX + shadow, rightY);
return new Promise(resolve => setTimeout(resolve, ms));