Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 1.51 KB

README.md

File metadata and controls

18 lines (15 loc) · 1.51 KB

Position Based Dynamics

Authors: Jack Robbins and Randall Tarazona

This project is an implementation and exploration of the Position-Based Dynamics approach to simulating dynamic objects in computer graphics. The mathematics and overall design of these programs are based off of this 2006 paper on the subject.

There are 4 separate demonstrations, the code for each being linked below:

  1. An interactive worm simulation
  2. An interactive collision demonstration
  3. A demonstration of a point constraint
  4. A combination of our worm simulation and point constraint into a rope simulation

Configuration Instructions

  1. Download the desired *.py files and requirements.txt
  2. Create a python virtual environment
  3. Activate your new python virtual environment
  4. Run pip -r install requirements.txt
  5. Run the desired file with the command python filename.py
  6. Enjoy the position based dynamics!