Standalone two-dimensional Point class with support for vector operations, heavily inspired in PaperJS and Phaser implementations. Here we are trying to make a fluent, side-effects free, tested api.
Getting Started
Install the module with: npm install point2js
var Point = require('point2js');
var p = new Point(); // {x: 0, y: 0}
# creates a browser.js
$ grunt browserify
Documentation
(Coming soon) - check out the tests
Examples
(Coming soon)
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
License
Copyright (c) 2014 psychonull
Licensed under the MIT license.