Nonlinear Soft-Body Simulation
A downloadable project
This is a prototype nonlinear soft-body simulation using OpenGL made for USC's PHYS-304: Classical Mechanics course. It uses the Neo-Hookean model of elasticity to generate and apply volume and orientation-preserving forces each frame. To compensate for inaccuracies caused by using discrete time steps instead of integration over time, a "friction" multiplier is also applied to reduce velocities before positions are updated.
The linked demo video is from the 10/28 version, which is more interactive/complete. The 12/2 version includes bugfixes along with a more accurate and adjustable elasticity model, but has much messier output and requires a lot more noodling around in the code.
Status | Prototype |
Category | Other |
Author | obyug |
Genre | Simulation |
Leave a comment
Log in with itch.io to leave a comment.