C++ fluid simulation compiled in javascript with emscripten.
This demo could be a starting point for learning how to setup Emscripten and OpenGL for you graphics applications. Fork it !
Building :
source ~/***/emsdk_set_env.sh
cd build
cmake -DCMAKE_CXX_COMPILER=em++ .. && make
firefox FluidScripten.html