Skip to content

mrcdr/web-assembly-three-body

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

Web Assembly and Emscripten sample to simulate the Pythagorean three-body problem.

The demo is available here.

Compile commands

Web Assembly

em++ three_body.cpp -std=c++17 -Iinclude -o index.html -O3 -sMAX_WEBGL_VERSION=2 -sALLOW_MEMORY_GROWTH

Linux executable

c++ three_body.cpp -std=c++17 -Iinclude -O3 -lglut -lGL

Dependencies

  • OpenGL
  • OpenGL Utility Toolkit (GLUT)
  • Eigen

Releases

No releases published

Packages

No packages published

Languages