Centroidal Voronoi tessellation
- 1 Cells
- 2 Centroids
- 3 Move sites
- 4 New diagram
Domain, stopping & interpretation
The rectangle stays fixed throughout this sequence. Cells are clipped to this domain; tolerance regions are not clipped to it. The current point set supplies the initial sites.
All targets come from one partition and stay frozen for the iteration. Together animates the Lloyd update; One by one exposes its individual relocations. Both reach the same targets. The B counter uses sequential single-site checks, each with a fresh region. In Together this is a separate replay, not a guarantee for the simultaneous path. Every checked triangulation is rebuilt; the count is not measured speedup.
This uniform-density rectangular example adapts §4.1 of Castro et al. (2009); its figures use a disc. It does not implement the persistent-reference queue of §3.2. Numerical filters use the demo’s documented heuristic uncertainty band. Editing a point, loading data, changing Region mode or adopting a reference leaves the sequence. Pause freezes the current visual frame. A movement-option change during an animation takes effect after that move. Undo, Restart or editing cancels an unfinished animation; only completed moves enter history. Undo restores a step paused and retains the latest 60 actions; Restart restores the original CVT sites and keeps the chosen movement option.
Near z
The region stays fixed as you move the point.
Point-set source, units & transformations
The complete safe region
Intersect the permitted sides of every delimiter involving z. Its boundary consists of circular arcs and, near the convex hull, straight lines.
The largest disk with this center
In fixed mode, the center stays at z₀. Live mode centers it at the current vertex. Its radius is the smallest clearance to a delimiter: r = min dist(z₀, D). The disk touches the boundary of A.
Beyond the boundary
Leaving A removes the preservation guarantee. Connections may change or stay the same. The current triangulation is checked independently.