A WebGPU Implementation of Augmented Vertex Block Descent: Running Physics Simulations in the Browser

Available in: 中文
2026-04-09T23:13:22.745Z·2 min read
A developer has implemented Augmented Vertex Block Descent (AVBD), a physics simulation algorithm, using WebGPU, enabling real-time physics simulations to run entirely in the browser. The project h...

WebGPU Physics: Running Augmented Vertex Block Descent Simulations in the Browser

A developer has implemented Augmented Vertex Block Descent (AVBD), a physics simulation algorithm, using WebGPU, enabling real-time physics simulations to run entirely in the browser. The project has gained 115 points on Hacker News with 14 comments.

What Is WebGPU

WebGPU is the successor to WebGL, providing:

What Is Augmented Vertex Block Descent

AVBD is a constraint-based physics simulation method:

The Implementation

This project brings together:

  1. WebGPU compute shaders: Physics calculations run on the GPU
  2. WebGPU render pipeline: Visualization renders directly from simulation data
  3. JavaScript control: Interactive parameters and user input handling
  4. Real-time performance: Smooth 60fps simulations of complex scenes

Why This Matters

  1. No installation: Physics simulations that run in any modern browser
  2. GPU compute in the browser: WebGPU makes GPGPU accessible to web developers
  3. Educational: Interactive physics demonstrations for teaching and learning
  4. Creative coding: New possibilities for browser-based art and games
  5. Zero setup: No build tools, no compilation, just open a URL

Broader Trend

WebGPU is enabling a new class of browser applications:

Technical Achievement

Running physics simulations efficiently in the browser requires careful optimization:

Source: GitHub (jure) / HN — 115 points, 14 comments

↗ Original source · 2026-04-09T10:00:00.000Z
← Previous: Microsoft Is Using Dark Patterns to Pressure Users Into Paying for Cloud StorageNext: Unfolder for Mac: 3D Model Unfolding Tool for Creating Papercraft from Digital Models →
Comments0