Polygon split for javscript/html5 canvas.
original cpp and Qt Source is https://github.com/dhmhd/poly-split
original algorithm: http://www.khetarpal.org/polygon-splitting/
http://kladess.github.io/poly-split-js/demo.html
Licensed under the MIT license.