Cheers
Great work though
Thank you for the feedback!
Another way to exhibit it is to take the center node of the wheel and press it against the wall. The whole shape will spin.
Another issue with defining shapes via distance constraints is that they sometimes have alternate solutions / stable minima. For example, you can smash the circle in to the ground and get it to crumple: http://i.imgur.com/UzxbKvJ.png
But, this is still an awesome demo. Good work subprotocol.
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
Any thoughts of integrating it with SVG? SVG is super useful for drawing and manipulating shapes in the browser.
I'm not sure what about it is so effective.
For my most recent attempt at something speedy, here's some source code making use of typed arrays and doing away with objects completely. The speed improvement is good, but maybe the maintainability suffers a little (press space to create blob): https://c9.io/blixt/blob/workspace/index.html
Note that the particle-line collision is currently inefficient, so it slows down the simulation a lot more than it should.
That is the best bug ever.
Just for fun, try pulling one of the spider's legs and bring it close to the web! I really like how it clings on to the web.
Anyone knows a good "directory" or collection of such sites?
Another example of that kind of site: http://worrydream.com/
Thanks for any reply.
edit: after I deleted google analytics code, everything went hunky dory. Thanks for this amazing piece of code :)