README
Triangulate
Triangulate a 3D polygon
Usage
var triangulate = require("triangulate");
var polygon = []; // [[x,y,x], [...]]
var faces = triangulate(polygon);
Triangulate a 3D polygon
<script type="module">
import triangulate from 'https://cdn.skypack.dev/triangulate';
</script>
Triangulate a 3D polygon
var triangulate = require("triangulate");
var polygon = []; // [[x,y,x], [...]]
var faces = triangulate(polygon);