WebAssembly Spinning Cube Demo

This demonstrates cross-compilation of unmodified, native C++ with OpenGL to the Web with Emscripten. The original source code is by Julien Guertault. Thanks to Emscripten and WebAssembly, the Web is just another compiler target.

View the repository on GitHub.

View the demo in your browser:

(You can also see the Makefile used to compiler the examples above)