WebGPU Sketch Dojo
View on GitHub
A collection of experiments with the emerging WebGPU API. Created by Georgi Nikolov
While learning the API, I also developed a micro WebGPU Rendering & Compute Library called hwoa-rang-gpu that powers most of these demos.
Starting in Chrome 94, WebGPU is available as an origin trial in Chrome. The origin trial is expected to end in Chrome 97 (Jan 26, 2022).
Please use latest Google Chrome or Google Chrome Canary or Firefox Nightly (Instructions). Linux users might need to take extra steps for Chrome as explained here.
Keep in mind that WebGPU is still considered an experimental API and some of the demos might break. Please file an issue if something is not working.
Basic
-
Hello Triangle
-
Hello Indexed Square
-
Draw Multiple Things
-
Scene Graph
-
Textured Cube
-
Geometry Instancing