canvist_canvas_wasm
canvist’s canvas in the browser.
Appwires acanvist_canvas::Canvasto acanvist_collab::SceneBinding, and opens text frames in aTextSessionon the real canvist text editor. It has no browser dependencies, so it is tested natively (cargo test -p canvist_canvas_wasm).CanvasApp(wasm only) puts anAppon a<canvas>. It renders with vello on WebGPU where the browser supports it, and otherwise withvello_cpuandputImageData.
The demo scene is src/demo.json, written in the nested scene JSON format. Every peer builds it under one reserved client id, so every tab starts from the same shared state.
Build it with deno task build in packages/canvist-canvas, which wraps it in a typed mountCanvas and runs the demo.