Triangulate Triangulate a 3D polygon Usage var triangulate = require("triangulate"); var polygon = []; // [[x,y,x], [...]] var faces = triangulate(polygon);