Web Assembly and Emscripten sample to simulate the Pythagorean three-body problem.
The demo is available here.
em++ three_body.cpp -std=c++17 -Iinclude -o index.html -O3 -sMAX_WEBGL_VERSION=2 -sALLOW_MEMORY_GROWTH
c++ three_body.cpp -std=c++17 -Iinclude -O3 -lglut -lGL
- OpenGL
- OpenGL Utility Toolkit (GLUT)
- Eigen