Poly-JS
Poly-JS is a library for manipulating 2D polygons and vertices
Features
- 2D vertices operations
- 2D lines operations
- 2D polygons operations
- 2D rect operations
- 2D circle operations
Installation
npm i @slydock/poly-js
Basic Usage
For any component need, you'll need to import the plugin
const {
Vector2,
Line,
Polygon,
Rect,
Circle
} = require('@slydock/poly-js');