JointJS - JavaScript diagramming library - Demos.

Convex Hull Algorithm

Move the dots and see how the boundary adjusts.