irregular-voronoi

1.0.2 • Public • Published

irregular-voronoi

irregular-voronoi makes it dead simple to create voronoi like diagrams constrained to irregular polygons. It ensures that no returned polygon is a MultiPolygon. That each point is in only Polygon. And that all polygons contain a point.

Usage

const irregularVoronoi = require('irrgular-voronoi');

const polygon = { ... };
const points = [ ... ];

const result = irregularVoronoi(polygon, points);

Readme

Keywords

none

Package Sidebar

Install

npm i irregular-voronoi

Weekly Downloads

31

Version

1.0.2

License

MIT

Unpacked Size

1.21 MB

Total Files

12

Last publish

Collaborators

  • mcwhittemore