block by hollasch f70f1fe7700f092b5a505e3efd1d9232

Rounded Enclosing Hull

Full Screen

This example illustrates a way to construct a loose bounding area around a set of points. The general technique is to use d3.polygonHull, then offset each segment of the resulting polygon outwards, and finally to bridge the gaps with circular arcs.

One could also envision using Bézier curves to get a blob with no straight segments.

See also Smooth Polygon Convex Hull.

index.html

LICENSE.txt