Skip to content

holtsetio/softbodies

Repository files navigation

Realtime softbody simulation in the Browser with WebGPU

This is a realtime simulation of softbodies with collisions, running in the browser using the three.js WebGPURenderer.

See it running live here!

softbodies

Credits

The softbody simulation is based on the WebGL implementation in TetSim by Johnathon Selstad. I reimplemented it in three.js TSL and added collision detection.

Full list of credits for the assets can be found here

How to run

npm install
npm run dev

About

Realtime softbody simulation in the browser with WebGPU

Resources

License

Stars

Watchers

Forks