05-17-09
Soft body dynamics with Verlet integration
Just some fooling arround with Verlet integration to try and render soft bodies. They’re not perfect, but pretty fun to play arround with.
If you are interested in how this stuff works you should really read this article, it’s really “cool”.
Anyway, all this is, is a graph of vertices connected together with semi rigid constraints.
And now for some soft bodies…
Use the left and right arrow keys to shift the blob left or right, and the up key to shift it… up!
If you hit a wall too hard, you might kill the little blob.
Processing:
Here is a version using processing.
ActionScript 3.0:
These are two slightly different AS3 versions ( the underlying verlet “engines” are a little different ):
semi rigid version
softer blob
Video | Enjolt.com | Innovate for Success
[...] 05/18/2009 HexoSearch – The World’s First Search Engine Dedicated for Actionscript Soft body dynamics with Verlet integration – signalsondisplay.com 05/17/2009 Just some fooling arround with Verlet integration to try and [...]
05-20-09 » 11:37 am »