Need private packages and team management tools?Check out npm Teams »

@slydock/poly-js

0.2.0 • Public • Published

Poly-JS

Poly-JS is a library for manipulating 2D polygons and vertices

Features

  1. 2D vertices operations
  2. 2D lines operations
  3. 2D polygons operations
  4. 2D rect operations
  5. 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');

Documentation

https://slydoch.github.io/poly-js/

Install

npm i @slydock/poly-js

DownloadsWeekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

2.23 MB

Total Files

57

Last publish

Collaborators

  • avatar