Polygon geometry for zones: validation, spatial relations and simplification, with no dependencies.
Source on GitHubClick to add a point, drag to move one, shift-click to remove it. The dashed rectangle is the outer boundary.
Draw two zones to compare them.