Skip to main content
100%

Fork of Fork of Fork of Fork of #HAW: Svelte + D3: Voronoi

✓ Published0🌍 Public
NNita
Last edited Dec 3, 2025
Created on Dec 3, 2025

A hundred randomly placed points form a colorful Voronoi diagram that updates live as the mouse moves across the screen. The first point follows the cursor, recomputing the cell boundaries via the Delaunay triangulation from `d3.Delaunay`. Each cell contains a small violet glyph, a circle, and a semi-transparent fill from a rotating palette. The visualization uses Svelte’s reactive declarations to scale data coordinates and rerender the SVG on every mousemove event.

AI-generated description
MIT Licensed

Similar vizzes