@jrsmiffy/delaunator
v1.4.5
Published
TypeScript library that generates Delaunay Triangulations
Downloads
11
Readme
Delaunator
TypeScript library that generates Delaunay Triangulations
Install
npm install @jrsmiffy/delaunator
Release
make release bump=<VERSION>|major|minor|patch notes="<NOTES>"
Test
npx jest --coverage
Example
// https://github.com/jrsmth/delaunay
let points: Point[] = Delaunay.generatePoints(svgWidth, svgHeight, numberOfPoints);
let triangulation: Triangle[] = Delaunay.triangulate(points);