BALLPIT

starting WebGPU…

About / More by Tront

BALLPIT by Tront

BALLPIT is a GPU contact physics testbed. Twenty thousand particles with extended position-based dynamics, computed entirely in WebGPU compute shaders through the Three.js shading language, colliding with each other and with a solid rectangle map, in one file of simulation and one file of test rig. It is the place where the crowd and physics ideas behind the other GPU projects get proven before they ship.

No build step, no install, needs a desktop browser with WebGPU. Made by Tront (Trent Sterling), who builds GPU systems in public and writes up what breaks.

More from Tront

  • BIOMASS: GPU horde tower defense with a colossus boss: tens of thousands of creatures in WebGPU compute.
  • SEND DUDES: Siege defense with 200,000 fighters simulated on the GPU. Hold the core, turn kills into reinforcements.
  • ORCFLOW: GPU tower defense where every orc lives in a WebGPU storage buffer for its whole life.

All games and tools · Devlog · Discord · Source on GitHub · tront.xyz

More to play