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.
npm install three-pbd
Hosted here: https://repalash.com/three-pbd/ Check out the examples folder for source code.
Hosted here: https://repalash.com/three-pbd/docs/
To run
npm install
npm run build
npm run serve
Then navigate to http://localhost:8000