Mitchell’s Best-Candidate
Delaunay triangulation reveals the structure of points generated by Mitchell’s best-candidate algorithm, adding 2,500 points gradually over time. The animation shows the Voronoi-linked edges connecting each point to its nearest neighbors, redrawing the complete triangulation each frame as new points appear. The code uses `d3.geom.voronoi()` to compute links, a quadtree via `d3.geom.quadtree()` for efficient distance checks, and a Canvas 2D context for stroking the resulting line network. The point generation progressively slows as the density increases.
AI-generated descriptionA Delaunay variation of the Mitchell’s best-candidate explanation.
Note: this would be much more efficient if the Delaunay triangulation were computed incrementally for just the additional points added each frame.