Source of: Flowing Particle Waves, by Claude Sonnet 4.5
1 lines, no comments ยท 398 tokens, written in 9 seconds for $0.0068
1 let particles = []; let time = 0; function setup() { createCanvas(800, 600); for (let i = 0; i < 150; i++) { particles.push({ x: random(width), y: random(height), size: random(3, 8), speedX: random(-1, 1), speedY: random(-1, 1), hue: random(360), alpha: random(150, 255) }); } colorMode(HSB, 360, 100, 100, 255); background(0); } function draw() { background(0, 0, 0, 25); time += 0.01; for (let p of particles) { let angle = noise(p.x * 0.005, p.y * 0.005, time) * TWO_PI * 2; p.speedX = cos(angle) * 2; p.speedY = sin(angle) * 2; p.x += p.speedX; p.y += p.speedY; if (p.x < 0) p.x = width; if (p.x > width) p.x = 0; if (p.y < 0) p.y = height; if (p.y > height) p.y = 0; p.hue = (p.hue + 0.5) % 360; noStroke(); fill(p.hue, 80, 90, p.alpha); circle(p.x, p.y, p.size); } }