concaveman

Fast 2D concave hull algorithm in JavaScript (generates an outline of a point set)

flo-graham-scan

Function that finds the convex hull of a set of points via the Graham Scan algorithm.