Alpha shapes are a generalization of Delaunay triangulations. Given a parameter
alpha and a point set, they compute a simplicial complex which covers the point set in simplices whose circum radii are less than
var alphaComplex =var points =forvar i=0; i<100; ++ipointsconsole
This module works in node.js/iojs/browserify and supports point sets in any dimension.
npm i alpha-complex
var cells = require('alpha-complex')(alpha, points)
Constructs the alpha complex of the given set of points.
alphais the curvature of the alpha complex
pointsis a list of points encoded as arrays
Returns The alpha-complex of the point set.
(c) 2015 Mikola Lysenko. MIT License