xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background("#000");
}
function draw() {
translate(0, height/2)
colorMode(HSB)
// print(frameCount)
if (frameCount<450) {
for (let i=0; i<15; i++) {
fill(i*20 + random(-20, 20), 80, 100)
blendMode(ADD)
rect(random(100), random(-height/2, height/2), random(40), random(40))
translate(60, 0)
rotate(0.1)
}
}
}