Convex hull

Click on the canvas area to add points. As you do that, the convex hull (or the smallest area containing all points) is drawn. Clicks inside the area don't affect it; clicks outside of it expand it.