Cloth Simulation

Demo of a simple particle physics simulation using verlet integration. Cloth is simulated as a system of particles and springs. Collision detection allows interaction between the cloth and other objects (like the ball in the screenshot below).

Written in C++ using OpenGL and the glm math library.

Screenshot

Screenshot showing a simulated New Zealand flag draped over a ball.Screenshot of the simulation

Source

This was a project for a Computer Graphics paper I did at Victoria University in 2014.

The source code can be found on github.

Github statistics


The above software is licensed under the MIT License.