webphysics is an experimental WebGPU-based rigid-body and soft-body physics engine implementing the AVBD (Augmented Vertex Block Descent) solver from a 2025 SIGGRAPH paper. The pipeline covers broad-phase collision detection via GPU-accelerated LBVH, narrow-phase manifold generation with warm-start persistence, greedy graph coloring for parallel body solves, and augmented-Lagrangian dual updates. Currently Chrome-only and not production-ready, it serves as a proof-of-concept mapping Algorithm 1 from the paper to GPU compute shaders. The README provides a detailed walkthrough of each pipeline stage with links to the corresponding TypeScript source files.

4m read timeFrom github.com
Post cover image
Table of contents
SetupAVBD PipelineNote on Current Implementation

Sort: