This repo contains the code for each post in my "From 0 to glTF with WebGPU"
blog series. These repos all use my webgpu-webpack
To run an example from its subdirectory you can simply run npm install
followed by npm run serve
. Then
open Chrome Beta/Canary (or stable once 113 is out) and point it at localhost:8080
.
- Post
- JavaScript Code: 1-first-triangle
- TypeScript Code: 1-first-triangle-ts
- Post
- JavaScript Code: 2-bind-groups
- TypeScript Code: 2-bind-groups-ts
- Post
- JavaScript Code: 3-first-mesh
- TypeScript Code: 3-first-mesh
- Post
- JavaScript Code: 4-full-scene
- TypeScript Code: 4-full-scene-ts
- Post
- TypeScript Code: 5-textures-ts