jackr276 / Position-Based-Dynamics

A demonstration of Position Based Dynamics through 4 unique graphics simulations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

A demonstration of Position Based Dynamics through 4 unique graphics simulations


Languages

Language:Python 100.0%