Skip to main content
100%

Image Hulling

✓ Published0🌍 Public
DDinoJay
Last edited Jul 6, 2016
Created on Jul 6, 2016

Image Hulling turns a photograph into a stylized mosaic by sampling pixel colors and using d3’s Delaunay triangulation to connect them into a concave hull. The visualization displays a color-based image outline, with the concavity of the hull controlled by a distance metric calculated from the Delaunay triangles, and the original image is shown alongside for reference. A custom d3.geom.concaveHull plugin is used to generate the outline, with optional padding, and the final result is rendered with both SVG and canvas to show the image regions.

AI-generated description

forked from <a href='http://bl.ocks.org/emeeks/'>emeeks</a>'s block: <a href='http://bl.ocks.org/emeeks/2acc14409f7108826fab'></a>

Similar vizzes