Live data from Hacker News

Verlet-js - Open source dynamic body physics engine

subprotocol.com

21–30 of 57 posts

Re: Verlet-js - Open source dynamic body physics engine

#21
post #6
post #5

There is a similar project named Coffee-Physics [1] by Soulwire. [1] https://github.com/soulwire/Coffee-Physics

Also Box2D JS and Box2Dweb http://box2d-js.sourceforge.net/ https://code.google.com/p/box2dweb/ Bullet JS https://github.com/adambom/bullet.js/ Cannon.js https://github.com/schteppe/cannon.js Ammo.js https://github.com/kripken/ammo.js/ Physijs http://chandlerprall.github.io/Physijs/ JigLibJS https://github.com/supereggbert/JigLibJS

Chipmunk-JS

https://github.com/josephg/Chipmunk-js

Re: Verlet-js - Open source dynamic body physics engine

#22
post #14
post #6

Earlier quoted context omitted.

Also Box2D JS and Box2Dweb http://box2d-js.sourceforge.net/ https://code.google.com/p/box2dweb/ Bullet JS https://github.com/adambom/bullet.js/ Cannon.js https://github.com/schteppe/cannon.js Ammo.js https://github.com/kripken/ammo.js/ Physijs http://chandlerprall.github.io/Physijs/ JigLibJS https://github.com/supereggbert/JigLibJS

Interesting list but I wonder how do these libraries fare when used by JS developers? What are their performances and experience with them?

Also, a verlet-based physics engine is a very different beast compared to a rigid-body one (a few in the list above are also based on verlet, but not most).

Re: Verlet-js - Open source dynamic body physics engine

#24
Hey, I downloaded the zip sourcefile from the github repository but any change on the tree example code (for example commenting out tree1) increases load time tenfold. Has anyone experienced this?

Thanks for any reply.

edit: after I deleted google analytics code, everything went hunky dory. Thanks for this amazing piece of code :)

Re: Verlet-js - Open source dynamic body physics engine

#25

Earlier quoted context omitted.

This is a really great point. Abstracting it away shouldn't be bad, and it is possible to extend by vec2 implementation to 3d. After I finish my next batch of examples I will venture down this path. Thank you for the feedback!

This is one of the few demos I can try on Linux without jumping through hoops since it's canvas-based, so I appreciate your choice to not go with WebGL actually. Looks good; looking forward to reading the code more closely!

If you use Chrome/Chromium, you can try setting the "Override software rendering list" option in about:flags. Worked for me.

Re: Verlet-js - Open source dynamic body physics engine

#27

Nice project. The spider was a bit unexpected though. I had to jolt back a bit. I then pulled it out of the web and it died. Phew. (:

I thought you were joking (about dragging the spider out), but it actually works! Extremely well-done.

You drag it slightly off the web and she will hold on for dear life. Verly funny!
Post reply on HN