I'm learning WebGPU. Here's what I've built so far:
- Hello world triangle
- Rotating icosahedron
- Point sprites
- Particle life
- Matrix multiplication
- Prefix sum
For project history, check the log.
Clone this repo, and using node.js/npm run:
npm ci
Once all dependencies are initialized there are two basic commands:
npm run watch
: Sets up a live reloading server for working on the demosnpm run build
: Builds all the demos
And one very dangerous command:
npm run gh-pages
: Which builds all the files and pushes them to gh-pages
All the code is in src/demos
, take a look if you are curious
(c) 2023 Mikola Lysenko. MIT License