A demonstration of soft body simulation running in the browser using ECSY (Mozilla's Entity-Component-System), Ammo.js (the Bullet physics engine compiled to WebAssembly) and THREE.js.
See the live demo here.
- Clone this repository.
- In the directory where this repository was cloned, run
npm run build:prod
. - From the same directory, start a local web server via
npm run serve
. - Navigate to http://localhost:3002.
- Throw stuff!