Alpha-Shape Bounded Voronoi Tessellation
An interactive Voronoi tessellation divides a plane into cells around 100 randomly placed sites, with the site distribution forming two distinct clusters near the left and right edges. The visualization highlights the two clusters’ boundaries using a computed alpha shape, whose convex hull is expanded and then filled with additional artificial sites to constrain the tessellation. Built with d3.v4, it uses `d3.voronoi`, `d3.polygonHull`, and `d3.curveCatmullRomClosed` to calculate and render the polygons and hull path in SVG.
AI-generated descriptionnot fully working
Bounded Voronoi Tesselation using the algorithm described in xlr8r.info and an alpha shape
This is a variant of the <a href='http://bl.ocks.org/Fil/711834f9dc943d1de9c9577b10a7a872'>Bounded Voronoi Tessellation</a>, with:
sites distributed around two poles
poles are indentified with an alpha-shape (we then use the convex hull of each pole) - thanks to Jason Davies for the
boundary()function (akapolygonBoundary)the median distance instead of the mean (allowing a small optimisation)
many more exterior control points
a d3.curveCatmullRomClosed convex hull shape
not displaying links and sites
Author: Philippe Rivière, August 2016
Based on <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4060366'>Voronoi Tessellation</a>
forked from <a href='http://bl.ocks.org/Fil/'>Fil</a>'s block: <a href='http://bl.ocks.org/Fil/aa92ffae75cc880f7880a3dd6da3ae18'>Circular Bounded Voronoi Tessellation</a>