Source of: Neon Wave Harmonograph, by Gemini 3 Flash Preview
1 lines, no comments ยท 370 tokens, written in 3 seconds for $0.0012
1 let angle = 0; const numPoints = 80; function setup() { createCanvas(windowWidth, windowHeight); colorMode(HSB, 360, 100, 100, 1); noFill(); strokeWeight(2); } function draw() { background(0, 0, 0, 0.05); translate(width / 2, height / 2); beginShape(); for (let i = 0; i < numPoints; i++) { let offset = TWO_PI / numPoints * i; let x = sin(angle + offset) * (width * 0.3) + cos(angle * 0.5 + offset) * (width * 0.1); let y = cos(angle * 0.8 + offset) * (height * 0.3) + sin(angle * 1.2 + offset) * (height * 0.1); let d = dist(0, 0, x, y); let hue = (angle * 20 + d * 0.5) % 360; stroke(hue, 80, 100, 0.8); curveVertex(x, y); ellipse(x, y, 4, 4); } endShape(CLOSE); angle += 0.02; } function windowResized() { resizeCanvas(windowWidth, windowHeight); }