2D vector math library
npm install @crhio/vectorA simple 2D vector math library. Largely similar to Victor, with the following differences:
- All transformations clone the source vector
- Some changes have been made to the interface for convenience
Additionaly:
- Webpack 3 based.
- ES6 as a source.
- Exports in a umd format
- ES6 test setup with Mocha
- yarn build - produces production version of the library under the lib folder
- yarn dev - produces development version of the library and runs a watcher
- yarn test - well ... it runs the tests :)
- yarn test:watch - same as above but in a watch mode