Demo showing how to call HTML canvas from zig via WebAssembly.
- Shim that makes it appear canvas ctx is in zig
- Shows how to pass strings from zig to JavaScript and vice versa
- @panic in zig throws an error in JavaScript
- Download
zig 0.12.0 - Add
zigto path. npm run build:zignpm run start- Re-run
npm run build:zigwhenever zig files are changed.
