Soft Body Simulation

A Tech Demo.

The demo showcases a complex system, which comprises of a cube composed of 125 individual mass points. Each mass point is associated with a unique set of attributes, including force, velocity, position, and mass. To ensure smooth and accurate rendering of the scene, the position and velocity of each point is updated using the RK4 method on a per-frame basis.

Additionally, I designed and implemented a highly efficient Data Structure known as "Spring," which serves as the connection between two mass points in the scene. This structure is visually represented through the use of yellow lines, which act as a spring-like connection between the individual mass points, with the purple points representing the individual mass points themselves.

Video of the Demo