block by hollasch 9d3c098022f5524220bd84aae7623478

Smooth Polygon Convex Hull

Full Screen

This example renders a loose enclosing hull around a scattered set of points using a rounded Catmull-Rom curve. A strict convex hull is computed using D3.polygonHull, offset by a specified amount, and then interpolated with a closed curve.

See also the same basic approach using straight segments and circular arcs: Rounded Enclosing Hull.

index.html

LICENSE.txt