An experiment with C++, Javascript, and OpenGL