Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

pvector

1.1.0 • Public • Published

pvector

NPM version build status Test coverage Gittip

browser support

vector for physics

Installation

$ npm install pvector

Examples

var PVector = require('PVector');
 
var v1 = PVector(1, 1);
var v2 = PVector(2 ,2);
 
v1.setMag(10).sub(v2).heading();

Usage

see: PVector/test

License

MIT

install

npm i pvector

Downloadsweekly downloads

5

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability