Decomposition of 2D polygons into convex pieces in JavaScript. See the Github repo.
Try drawing a polygon below!