3 ms·
Sure. Any suggestions? (I don’t need much, just kbd input and pixel graphics out)
by FullyFunctional 3y ago
Sure. Any suggestions? (I don’t need much, just kbd input and pixel graphics out)
- jsheard 3y agohttps://github.com/rust-windowing/softbuffer https://github.com/rust-windowing/softbuffer That gives you a simple software framebuffer, and it builds as a native app or for the web. You'd set up a window (or web canvas) using winit, then pass that to softbuffer so it can render to it. https://trunkrs.dev https://trunkrs.dev I think Trunk is the most streamlined way of building for the web at the moment, superseding wasm-pack.