🌍 Public
Viewing a saved revision (read-only)
e2c8be3815dc4240a3136199dc459eab
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