/Cloth

Physics simulation: cloth and simple procedural objects with collision detection. Animated using second-order methods.

Primary LanguageC++MIT LicenseMIT

Simple Cloth Simulation

kvDO5LH.png

Compiling

Type 'make'. This will compile the program. Requires OpenGL support and the GLEW and GLUT libraries (libglew-dev and freeglut3-dev packages in Debian).

Running

To run the program, type './main'

Keyboard commands:

Key Action
W/S Move the ball forwards/backwards.
A/D Move the ball left/right.
R/F Move the ball up/down.