Skip to content

philsawicki/soft-body-simulation

Repository files navigation

Soft Body simulation using Ammo.js

Motivation

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.

Live Demo

See the live demo here.

./docs/soft-body-demo.gif

Installation

  1. Clone this repository.
  2. In the directory where this repository was cloned, run npm run build:prod.
  3. From the same directory, start a local web server via npm run serve.
  4. Navigate to http://localhost:3002.
  5. Throw stuff!

About

Soft Body simulation running in the browser using Bullet compiled to WebAssembly

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published