The wgpu "Hello Triangle" example extracted out and built with Wasmbuild:
https://github.com/gfx-rs/wgpu/tree/trunk/examples/src/hello_triangle
- Install Deno.
deno task build- Start a file server:
deno run --allow-read=. --allow-net https://deno.land/std/http/file_server.ts - Open http://localhost:4507 in a browser.
- Deno example (only works in a browser atm)