Simple examples of compiling C code to WebAssembly for the web.
Requires Emscripten
# Makefile builds ball example by default.
make native # native build
make wasm # WebAssembly build
make clean # Clean build files
Cube example - from https://github.com/callahad/spinning-cube
Ball example - my own attempt