Planck.js - Rewrite of Box2D for JavaScript

Hello,

I have manually ported/rewritten Box2D for JavaScript. It includes almost entire Box2D code, a new simple HTML5 testbed and almost all of Box2D examples.

I have slightly modified the API to follow JavaScript conventions. Box2D algorithm are reimplemented without modification, but there has been many refactoring (some were done to improve performance, some were subjective and some were unnecessary!).

Planck.js is available on GitHub.

Your feedback is greatly appreciated!

-Ali
thank you man
thay man hinh s7 edge
Went through all the other ports I could find but they were all missing certain things.
Your is working great. My setup was complaining about ASSERT for never being defined (I had to add a define it) and DEBUG which may be because I use webpack and a bunch of other node nodules. After building the word DEBUG is replaced by (true) which results in some error so had to replace DEBUG with another variable.

Other than that everything is working great. Thanks a lot and impressive work!

Original thread: https://box2d.org/forum/viewtopic.php?t=10236