🌍 Public
Viewing a saved revision (read-only)
0847c9b3a4eb4b4aac17f5d39b89ce9e
Svelte + D3: Generation of a phyllotaxis layout
A spiral of 1,000 circles is rendered sequentially, each positioned by a phyllotaxis layout using the golden ratio. The animation progressively reveals circles while drawing a connecting spiral path through their centers. Circle colors come from D3’s `scaleSequential` with `interpolateWarm`, and the layout is generated by a custom `layoutPhyllotaxis` function. The SVG and animation are built with Svelte’s reactive `$:` blocks and `each` loops, updating at set intervals.
AI-generated description