Drag the polygon nodes to change the shape. Click the buttons below and have fun!
GeoJSON of result (experimental):
Polygon Clipping Demo based somewhat on the F. Martinez et al. algorithm (2008)
Coded (painfully) by @voidqk from syntheti.cc – MIT License
Read the companion tutorial | Project home on GitHub