Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikolalysenko/webgpu-experiments
Experiments with WebGPU
https://github.com/mikolalysenko/webgpu-experiments
Last synced: about 2 months ago
JSON representation
Experiments with WebGPU
- Host: GitHub
- URL: https://github.com/mikolalysenko/webgpu-experiments
- Owner: mikolalysenko
- Created: 2023-01-14T22:01:59.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-04-30T19:39:25.000Z (over 1 year ago)
- Last Synced: 2024-10-20T14:27:08.384Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 128 KB
- Stars: 10
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Mikola's WebGPU experiments](https://mikolalysenko.github.io/webgpu-experiments/index.html)
I'm learning WebGPU. Here's what I've built so far:
* [Hello world triangle](https://mikolalysenko.github.io/webgpu-experiments/triangle.html)
* [Rotating icosahedron](https://mikolalysenko.github.io/webgpu-experiments/icosahedron.html)
* [Point sprites](https://mikolalysenko.github.io/webgpu-experiments/sprites.html)
* [Particle life](https://mikolalysenko.github.io/webgpu-experiments/particle-life.html)
* [Matrix multiplication](https://mikolalysenko.github.io/webgpu-experiments/matrix-mult.html)
* [Prefix sum](https://mikolalysenko.github.io/webgpu-experiments/prefix-sum.html)For project history, check the [log](LOG.md).
# Development
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 demos
* `npm run build`: Builds all the demosAnd 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
# License
(c) 2023 Mikola Lysenko. MIT License