Boolean operations and offsetting library in Javascript
...Polygons can be of any shape including self-intersecting polygons.
Javascript Clipper is a port of Angus Johnson's Clipper library: https://sourceforge.net/projects/polyclipping
LIVE DEMO: http://jsclipper.sourceforge.net/6.4.2.2/main_demo.html
LIVE DEMO (FPoint):
http://jsclipper.sourceforge.net/6.4.2.2_fpoint/main_demo.html
Information and examples:
http://jsclipper.sourceforge.net/6.4.2.2
Information and examples (FPoint):
http://jsclipper.sourceforge.net/6.4.2.2_fpoint
Donate Javascript Clipper Project: https://sourceforge.net/p/jsclipper/wiki/Donations/
Use cases:
* Over 1500 schools in the UK uses Javascript Clipper in Digimap for Schools service. ...
Simulate 2D physics with my engine entirely made in JavaScript. Modify live existing scenarii or create your own from scratch with the live editor. Try it on the demo web site! :)
Note : If you intend to download and use the sources as it is, you need to host it as scenario resquests are made in AJAX.