LearnWebGPUPlayground

LearnWebGPU Playground

This is a work-in-progress project focused on WebGPU, I have been working with graphics for the best part of a decade now but my expertise lays in OpenGL which many people say itโ€™s becoming obsolete now. I tried a few times to create new Vulcan o DX renderers and integrate that on my working 3D engine but ended up exhausted and confused each time by trying to consolidate the differences in their approaches. Although I managed to create toy Vulcan renderers, I came across WebGPU after working with WebXR for a while and I learned that I can still work on native C++ apps but deploy them in the browser with EMSCRIPTEN, which I think itโ€™s very cool and nice to iterate, so this time Iโ€™m starting from a WebGPU rendering backend and growing that into a 3DViz playground.

As WebGPU is still an evolving API, there might be features that are not available in this playground if compared to OpenGL/Vulkan/DX/Metal, but I will try my best to provide a nice demo. Currently this project uses the emscripten 3.1.61 standard.

The project is expected to evolve over time, so features and visuals may change frequently.

You can try the live demo here:
๐Ÿ”— View the WebGPU Playground

If you are interested in exploring the source code, feel free to clone the repository:
๐Ÿ”— GitHub Repository