VORONOI DIAGRAM SIMULATION

One question — which station is nearest to me — is enough to cut the plane into a mosaic. The border between two seeds is always the perpendicular bisector of the segment joining them, and since an intersection of half-planes is convex, every Voronoi cell is a convex polygon. Join the seeds that share an edge and you get the Delaunay triangulation, the dual structure with its empty-circumcircle property. Move each seed to the centroid of its own cell and repeat, and Lloyd’s relaxation pulls a ragged tiling toward a near-hexagonal lattice; that same procedure is k-means.

▸ Sowing the sites…
▸ Assigning each position to the nearest site (Euclidean)
▸ Building Voronoi cells & bisector edges
▸ Computing the dual Delaunay graph
▸ Starting the drift motion & Lloyd…
▸ Ready — Online. ✅
0%
⌂ Mathematics

Simulation room Voronoi diagram

Voronoi Diagram · Delaunay
Online
sites · cells · bisectors · Delaunay
Site layout & figures
🔶 Voronoi mosaic
site density · cell area
Number of sites—
Average area / cell—
Smallest cell—
Largest cell—
Delaunay edges—
Interaction—
Tip
Each colored cell = all points nearest one site (orange dot). The boundary is a perpendicular bisector (equidistant from two sites). Drag a site to move the boundaries instantly. Switch the Scenario to see Delaunay, the honeycomb grid or Lloyd.
—
Drag a site to move its cell · switch the Scenario (honeycomb grid · Delaunay · few/many sites · Lloyd) · click a structure to open a card
Your browser has canvas disabled.
Site count · largest cell area · Delaunay edges over time site countlargest cellDelaunay edges
About Voronoi / Delaunay

One question — which station is nearest to me — is enough to cut the plane into a mosaic. The border between two seeds is always the perpendicular bisector of the segment joining them, and since an intersection of half-planes is convex, every Voronoi cell is a convex polygon. Join the seeds that share an edge and you get the Delaunay triangulation, the dual structure with its empty-circumcircle property. Move each seed to the centroid of its own cell and repeat, and Lloyd’s relaxation pulls a ragged tiling toward a near-hexagonal lattice; that same procedure is k-means.

Related topics in Mathematics