poly-split-js icon indicating copy to clipboard operation
poly-split-js copied to clipboard

Solving the problem of cutting a given polygon into any number of areas of given squares with a lines of minimal length

poly-split-js

Solving the problem of cutting a given polygon into any number of areas of given squares with a lines of minimal length

Synopsis

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/

live demo

https://jypark.pe.kr/poly-split-js/

example

run

In the project directory, you can run:

npm method

$ npm i
$ npm run start

yarn method

$ yarn
$ yarn start

Licence

Licensed under the MIT license.