three-pbd
v0.0.1
Published
Simple position based dynamics for three.js in vanilla ts.
Downloads
1
Maintainers
Readme
three-pbd
Very small CPU based implementation of Position Based Dynamics for Three.js. Only for very simple simulations. For more complex simulations, use cannon.js or ammo.js.
Install
npm install three-pbd
Examples
Hosted here: https://repalash.com/three-pbd/ Check out the examples folder for source code.
API Documentation
Hosted here: https://repalash.com/three-pbd/docs/
Development
To run
npm install
npm run build
npm run serve
Then navigate to http://localhost:8000
Modified from:
- Unity3D https://github.com/Scrawk/Position-Based-Dynamics
- C++ https://github.com/InteractiveComputerGraphics/PositionBasedDynamics
About PBD
- https://matthias-research.github.io/pages/tenMinutePhysics/09-xpbd.pdf