p2

A JavaScript 2D physics engine.

npm install p2
3 downloads in the last week
9 downloads in the last month

p2.js

JavaScript 2D physics engine.

Usage

See examples.

How to build

p2.js is built with Grunt. Grunt is a npm module. Once you have npm, run this to install grunt globally.

$> npm install -g grunt-cli

Then, in the folder where you have downloaded the source, install the build dependencies using npm:

$> npm install

Then build:

$> grunt
npm loves you