Planck.js – JavaScript rewrite of Box2D physics library
Planck.js developer here! I have posted this to reddit before, so I'm just going to include it here too:<p>I have ported/rewritten Box2D physics engine to JavaScript, for cross-platform HTML5 game development. Planck.js includes entire Box2D algorithms, a simple HTML5 Testbed, more than 50 examples and some new game prototypes. The project is pre-released and there may still be minor issues, which I'm working to fix. So far I have spent more than 400 hours for developing this project and it consists of around 20k lines of code.<p><a href="https://github.com/shakiba/planck.js" rel="nofollow">https://github.com/shakiba/planck.js</a><p>My main motivations for working on this project are:<p>- Taking advantage of Box2D's efforts, achievements and community knowledge<p>- Developing readable and maintainable JavaScript code<p>- Optimizing the library for web and mobile platforms<p>- Providing a JavaScrip-friendly API<p>Your feedback is highly appreciated, and I hope you use Planck.js to make some awesome games soon!