 | 
A 2D simulator based on Fedkiw's and Bridson's paper Nonconvex rigid bodies with stacking. In contrast to Bridson/Fedkiw's implementation, it's geared towards a real-time simulation with a much simpler geometry. You can play around with it, grab bodies with the mouse, modify the simulation parameters and so on.
I implemented some of the details described in the paper -- the split-up of contact and collision, the contact graph and shock propagation, for instance -- but chose a simple two-level interference detection with a modified SAT at the lower level. Of course that means that only convex bodies can be simulated. The simulation is neither very robust nor optimized at this point.
The videos are collections of PNGs in a QuickTime wrapper which may not play with some versions of QuickTime. The source should compile on Windows (Visual C/C++), MacOS X and Linux (gcc). OpenGL/GLUT is required. Windows binaries are included.
Version 0.1a gets optional acceleration input from the sudden motion sensor in recent Apple laptops and the Nintendo Wii remote. Only works on MacOS X, though, and the Wiimote support is rather hacky. See enclosed README for a few more details. |  |
|  |  |
|