News for hackers. Stuff that matters.

What is a good JavaScript Physics Engine?

I am trying to write a small interactive physics simulation where students can learn by clicking, dragging or swinging a pendulum, etc.... I found a lot of JScript Physics Engine out there, but I don't know where to start. Any suggestions?
( 3 comments | 3 points | on HN )
Re:What is a good JavaScript Physics Engine? by sunny1304 on Tuesday April 22, 2014 @08:59PM (#7631453)
http://box2d-js.sourceforge.net/

box2d has good documentation and plenty of examples available. You can start with this.

Re:What is a good JavaScript Physics Engine? by bl00djack on Tuesday April 22, 2014 @09:04PM (#7631467)
Thank you so much :)
Re:What is a good JavaScript Physics Engine? by coffeecodecouch on Thursday April 24, 2014 @05:19PM (#7643092)
If you want to use box2d, use box2dweb[0]. It's much smaller and faster and is actually up to date. However if you want your game to run smoothly on mobile phones your best bet is Chimpunk-js[1].

[0] https://code.google.com/p/box2dweb/

[1] https://github.com/josephg/Chipmunk-js