Some of the examples (the cloth and the tree) seem to be based off Sub Protocol's verlet-js demonstration [1], which were on Hacker News a while back (HN discussion [2]). There was a similar issue with angular momentum not being conserved on those examples too.<p>[1] <a href="http://subprotocol.com/verlet-js/" rel="nofollow">http://subprotocol.com/verlet-js/</a><p>[2] <a href="https://news.ycombinator.com/item?id=5580596" rel="nofollow">https://news.ycombinator.com/item?id=5580596</a>
Something seems off about the simulation - once you get a big clump, it starts spinning faster and faster until it tears itself apart again.<p>Ignoring that, it's pretty neat - and runs decently fast as well.
small niggle. what is a verlet constraint? (rhetorical)<p>whilst its obvious that you have just discovered verlet integration and the relaxation method of applying constraints - because everyone goes off and writes a physics engine at this point - i only think i know what you mean because i have assumed this.<p>are these length constraints, angle constraints etc?<p>still... no matter how common and unexciting this is for me, its always cool to play with physics simulations for five minutes. thanks for sharing. :)
My favorite one was "Supermarket catastrophe".<p>Been wondering about where I can get a physics engine to simulate wind. I want to create a wind turbine simulator.