let randomnessSeed function setup() { randomnessSeed = random(100) } function draw() { const size = 50 randomSeed(randomnessSeed) createCanvas(windowWidth, windowHeight); background(255) noStroke() for(let i = 0; i <= innerWidth; i += size){ for(let j = 0; j <= innerWidth; j += size){ colorMode(HSL) fill(random(180) + mouseX / windowWidth * random(90) + mouseY / windowHeight * random(90), keyIsPressed ? 0 : 100, random(50) + mouseX / windowWidth * 25 + mouseY / windowHeight * 25 ) let randomsize = 0 do { randomsize = randomGaussian(size / 20) * 20 } while (randomsize >= size + size / 10 || randomsize < size / 10) circle(i, j, randomsize / 2 + mouseY / windowHeight * 50) } } }