Minimal example of animating the HTML5 canvas from C++ using SDL through WebAssembly.
Source code: https://github.com/timhutton/sdl-canvas-wasm