3 ms·
This was a fun read! rogual: I'm sure you would be able to manage this yourself, but if time is a factor I'd be happy to assist in converting the final result
by hoten 4y ago
This was a fun read!
rogual: I'm sure you would be able to manage this yourself, but if time is a factor I'd be happy to assist in converting the final result to a WASM build playable in a browser.
Shouldn't be difficult to just plop in SDL (which is trivially portable to WASM) to handle the drawing. Found a basic example here[1] that uses STB + SDL. Should be rather straightforward.
[1] https://github.com/svoisen/wasm-imageviewer/blob/master/renderer.cpp https://github.com/svoisen/wasm-imageviewer/blob/master/rend...