Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/repalash/three-pbd
Position Based Dynamics for Three.js [WIP]
https://github.com/repalash/three-pbd
Last synced: 13 days ago
JSON representation
Position Based Dynamics for Three.js [WIP]
- Host: GitHub
- URL: https://github.com/repalash/three-pbd
- Owner: repalash
- License: other
- Created: 2023-02-04T20:25:42.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-19T16:10:13.000Z (over 1 year ago)
- Last Synced: 2024-10-30T03:44:45.530Z (19 days ago)
- Language: TypeScript
- Size: 91.8 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
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