demo of working with box2d and paper.js
JavaScript CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
box2d-helper.js
box2d-html5.js
index.html
intro_demo.js
jquery.easings.min.js
jquery.fullPage.css
jquery.fullPage.min.js
jquery.slimscroll.min.js
noc.css
noc_501.js
noc_502.js
noc_503.js
noc_504.js
noc_505.js
noc_506.js
noc_507.js
noc_508.js
noc_physics.html
paper-full.min.js
simple.css

README.md

Demo of using Box2D with paper.js

I'm greatful reading Dan Shiffman's Nature of Code book (http://natureofcode.com/) to learn processing and various cool stuff.

Recently, he has ported the examples to javascript/p5.js, and has posted some examples on how to use box2d-html5.js library in one of the chapters.

https://github.com/shiffman/The-Nature-of-Code-Examples-p5.js/tree/master/chp05_libraries/box2d-html5

I am a fan of paper.js, so I experimented with translating some of his code to use paper.js to draw simple shapes.

Any comments or suggestions:

hardmaru at gmail dot com