Simple SDL2 with WebAssembly (wasm) support. Tested on macOS Catalina / Chrome.
# Install sdl2 and emscripten with brew or by other means
# Build and run for macOS
./build_osx.sh <folder-name>
# Build and run for chrome
./build_web.sh <folder-name>
Test examples: