@wasi-gfx/wasi-gfx-shim
v0.1.0
Published
```shell npm run wit-fetch ```
Readme
wasi-gfx-shim implements the wasi-gfx on top of the browser's WebGPU API.
Update the wit
npm run wit-fetchGenerate the wit bindings
npm run generate-typesCompile the TypeScript
npm run buildExamples
Available examples:
- triangle
Compile an example:
npm run example --example=[example]Serve the example
Then serve the examples directory with an http server.
E.g. the python http server:
python -m http.serverView the example
Point your browser to http://localhost:[PORT]/example/?example=[example]
