html, body {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #292a33;
overflow: hidden;
}
function setup() {
createCanvas(windowWidth, windowHeight);
colorMode(HSB);
}
function draw() {
for (let i = 0; i < 10; i++) {
const tx = random(width);
const ty = random(height);
fill((ty / height) * 360, 100, 100);
circle(tx, ty, random(10, 60));
}
}
This Pen doesn't use any external CSS resources.