This project is under active development and is not stable yet.
Key motivations in development of this project are:
- Taking advantage of Box2D's efforts and achievements
- Optimizing the library for web and mobile platforms
- Providing a JavaScrip-friendly API
npm install planck-js --save
bower install planck-js --save
Planck.js does not use any renderer by default, so you need to either use a renderer or manually call
... read the whole story at github.com.
world.step(hz, dt) in each frame and then iterate over physics entities to draw or update them.