https://twitter.com/t_mao_p/status/1226425400420528128
https://twitter.com/t_mao_p/status/1226412816531214336
let myNoise = 0.0;
let step = 0.006;
let mycolor;
let myBrightness;
function setup() {
createCanvas(800, 600);
colorMode(HSB, 360, 100, 100, 50);
noStroke();
noLoop();
}
function draw() {
background(196, 240, 25);
for (x = 0; x < width; x++) {
mycolor = noise(myNoise) * random(79, 90);
y = noise(myNoise) * height;
noisePoint(x, y, 2, 2);
myNoise += step;
}
}
function noisePoint(x, y) {
for (n = 0; n < height; n++) {
myBrightness = noise(myNoise) * random(80, 100);
fill(mycolor, myBrightness, 100, random(40, 50) - n / 6);
ellipse(x, y - n, 1, 1);
ellipse(x, (y + 1) + n, 1, 1);
}
}