Continuation of CS 184 Spring 2025 Final Project, based on the CS 184 Project 3: ClothSim. For the original final project details, see here.
- Clone the repository
git clone https://github.com/jaynye/lightning.git- Create environment and install dependencies
conda create -n lightning python=3.11
conda activate lightning
pip install torch numpy
- Build & run
mkdir build
cd build
cmake ..
make
./clothsim
- Usage
- Press [S] to simulate lightning
- Press [P] to pause lightning when time-based simulation is active
- Select Custom from the shader dropdown to apply the Bloom filter