Furry Squishy Squares – Box2d Soft Bodies
The idea was to create good looking soft bodies (in a rigid body system – probably not a good idea). Delaunay polygon triangulation is calculated using the EXCELLENT library available here: http://en.nicoptere.net/?p=10
Furry Squish Square is a lattice of particles (circle bodies) constrained by springs… decreasing the number of constraints creates a nice cloth effect.
Furry Egg’s shape data was exported from the Flash IDE with a JSFL script. Turns out accessing shape data through the Actionscript API is a real pain. I stumbled upon the work here which uses a really neat solution, a SWF parser that extracts shape data from loaded files.
For an awesome JSFL script that will do this and more (breaking concave polygons down into convex components) see this post:http://www.box2d.org/forum/viewtopic.php?f=8&t=463