WebGPU Demos

WebGL Baseline

Basic WebGL example for rendering a triangle. We use this for comparison.

Go to WebGL Example

Raw WebGPU Graphics

Basic triangle example using raw WebGPU API calls.

View WebGPU Graphics Example

Matrix Multiplication

A demo of matrix multiplication using WebGPU compute shaders.

View Matrix

Particle Simulation

A demo of particle simulation using WebGPU compute shaders. This shows how you can conmbine compute and graphics in WebGPU.

View Particle Simulation

Using Three.js

A demo of using Three.js with WebGPU for rendering a rotating 3D cube.

View Three.js Example