This scissors module makes use of Mapbox's Earcut to triangulate polygons.
Equidecomposition is performed using Sutherland Hodgman clipping.
https://d3js.org/d3.v4.min.js
https://d3js.org/d3-array.v1.min.js
https://d3js.org/d3-polygon.v1.min.js
https://d3js.org/d3-scale-chromatic.v1.min.js
https://npmcdn.com/earcut@2.1.1/dist/earcut.min.js