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.
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
(Coming soon) - check out the tests
(Coming soon)
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.
Copyright (c) 2014 psychonull
Licensed under the MIT license.