@thi.ng/geom-clip-poly

2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann)

Browse on unpkg