LearnWebGPU-zig
TODO: describe this project
TODO: describe this project
Learn Zig through WebGPU
A Zig adaptation of LearnWebGPU for C++ - a progressive tutorial teaching modern GPU programming.
This repository contains self-contained Zig programs that teach you both Zig and WebGPU simultaneously. Each lesson is a standalone file that builds on previous concepts.
# Run any lesson
zig run src/getting-started/01-hello-webgpu.zig
# Or build it
zig build-exe src/getting-started/01-hello-webgpu.zig
./01-hello-webgpu
src/
├── getting-started/ # Foundation lessons (7 files)
├── basic-3d-rendering/ # 3D graphics lessons (~28 files)
└── basic-compute/ # Compute shader lessons
See CLAUDE.md for detailed lesson progression and learning goals.
Educational project - see individual files for specifics.