victor
v1.1.0
Published
A JavaScript 2D vector class with methods for common vector operations
Downloads
38,556
Readme
A Javascript 2D Vector Maths Library, built using the UMD standards, so you can use it as a global object or with any module loader. It works in both Node.js and the browser.
Check out the website for documentation.
Installation
Node.js / Browserify
npm install victor --save
var Victor = require('victor');
var vec = new Victor(42, 1337);
Bower
bower install victor --save
Global object
Include the pre-built script.
<script src="./build/victor.js"></script>
<script>
var vec = new Victor(42, 1337);
</script>
Build & test
npm run build
npm test
Contributors
Ordered by date of first contribution. Auto-generated on Mon, 31 Aug 2015 13:08:12 GMT.
- Max Kueng aka
maxkueng
- George Crabtree aka
supercrabtree
- Michel.Ypma aka
MichelYpma
- Chris Pearce aka
Chrisui
- Beau Gunderson aka
beaugunderson
- René Bischoff aka
Fjandin
- Chris Ertel aka
chrisrertel
- Heikki Ylönen aka
heikki
- Joonas Salmela aka
undefined
- Moritz Rebbert aka
ztiromoritz
License
MIT