Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Great work! This is really impressive stuff, and it's applaudable that you saw this project through to the very end!

I'm actually seeing some hitching in the car demo on my reasonably fast dev machine, particularly when I'm interacting with the bridge (computing contact forces of a bunch of bodies connected with joints is a lot of work): http://piqnt.com/planck.js/Car

Have you looked at perf yet? How does the performance of your rewrite planck.js compare to a compiled emscripten version?

Would you ever consider using something like ASM.js or WebAssembly? Physics libraries are definitely one of those performance-critical applications where this kind of stuff actually matters a whole lot.



Thank you!

I have not seen any problem with car example on my own laptop, but I will try it on some more different devices to find the issue.

Regarding performance, because Planck.js code is hand-made and readable it is not difficult to improve it if it is not fast enough with some cases.

asm.js looks promising, I'm going to have a closer look at it.


I guess I fixed the issue that you pointed out, it was a new bug in testbed. Thanks for reporting!

You may need to force-reload the example to see the update. Please let me know if the issue still exists for you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: