Skip to main content
100%

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

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

This interactive Voronoi diagram visualizes 100 randomly generated data points, overlaid on a Buddha silhouette defined by an SVG path. As the user moves the mouse over the visualization, the first data point is repositioned to follow the cursor, causing the Voronoi cells to update dynamically. The visualization uses D3’s `scaleLinear` for coordinate scaling and `Delaunay` for Voronoi computation, rendering the cells as SVG polygons with a cyclical color palette. The interaction demonstrates real-time updates of a Voronoi tessellation based on a moving point, creating an engaging and responsive visual effect.

AI-generated description
MIT Licensed

Similar vizzes