This is a realtime simulation of softbodies with collisions, running in the browser using the three.js WebGPURenderer.
See it running live here!
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
npm install
npm run dev