1 lines, no comments ยท 397 tokens, written in 4 seconds for $0.0013


1  let angle = 0; let colors = []; function setup() { createCanvas(windowWidth, windowHeight); colorMode(HSB, 360, 100, 100, 1); noFill(); strokeWeight(2); for (let i = 0; i < 5; i++) { colors.push(color(random(360), 80, 100, 0.5)); } } function draw() { background(0, 0.1); translate(width / 2, height / 2); let orbitRadius = map(mouseX, 0, width, 50, 300); let speedMult = map(mouseY, 0, height, 0.01, 0.1); for (let i = 0; i < 50; i++) { let layerAngle = angle + i * 0.1; let x = sin(layerAngle) * orbitRadius + cos(layerAngle * 0.5) * (orbitRadius / 2); let y = cos(layerAngle) * orbitRadius + sin(layerAngle * 2) * (orbitRadius / 3); stroke((frameCount + i * 5) % 360, 80, 100, 0.6); ellipse(x, y, 50 + sin(angle + i) * 30, 50 + cos(angle + i) * 30); } angle += speedMult; } function windowResized() { resizeCanvas(windowWidth, windowHeight); }