/three-pbd

Position Based Dynamics for Three.js [WIP]

Primary LanguageTypeScriptOtherNOASSERTION

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:

About PBD