Jello Simulation

For our first assignment in CIS563 (Physically Based Animation) I created a 3D mass spring-particle system using numeric integration with collision detection and response. I implemented Euler and Midpoint integration and was provided with Runge-Kutta (RKA) integration. I also implemented internal spring forces, collision and penetration detection and response (for planes, spheres, and cylinders), as well as my network of springs (structural, shear, and bend). I spent a significant amount of time experimenting using different spring constants and damping forces in order to make the jello stable and semi-realistic. I plan to export my jello into maya and render it using Mental Ray, but until then here are some images directly from my simulation, run in XCode.