Skip to content

About

N body simulator

Resources

Stars

0 stars

Watchers

2 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

gravitysim

3D gravity simulator

Requirements

OpenGL, GLM, GLEW, GLFW

Optionally:

OpenCL (for faster physics computation)

CUDA (for faster physics computation) (use cmake -DENABLE_CUDA=ON)

Maths

Here are some articles I used to implement rendering techniques, physics, etc:

Running Notes

On some platforms other than apple, you may need to force OpenGL context:

For example, on MESA open source Linux stuff, use: export MESA_GL_VERSION_OVERRIDE=3.3

About

N body simulator

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages