Jeongyong-park / 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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:MIT License


Languages

Language:JavaScript 99.1%Language:HTML 0.9%