https://github.com/romelium/n-body-simulation-cpp
A somewhat well documented 3D n-body simulator in C++. There are build and run scripts for nearly all platforms if you have clang and a C++ standard library implementation that support c++20.
https://github.com/romelium/n-body-simulation-cpp
3d-physics ascii ascii-art ascii-graphics cli cplusplus cpp cpp20 documented gravity gravity-simulation n-body n-body-simulation n-body-simulator newton-universal-gravitation physics-simulation physics-simulator well-documented
Last synced: 8 months ago
JSON representation
A somewhat well documented 3D n-body simulator in C++. There are build and run scripts for nearly all platforms if you have clang and a C++ standard library implementation that support c++20.
- Host: GitHub
- URL: https://github.com/romelium/n-body-simulation-cpp
- Owner: Romelium
- Created: 2024-12-28T16:50:00.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-12-28T19:31:58.000Z (9 months ago)
- Last Synced: 2024-12-28T20:24:32.546Z (9 months ago)
- Topics: 3d-physics, ascii, ascii-art, ascii-graphics, cli, cplusplus, cpp, cpp20, documented, gravity, gravity-simulation, n-body, n-body-simulation, n-body-simulator, newton-universal-gravitation, physics-simulation, physics-simulator, well-documented
- Language: C++
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# N Body Simulation C++
A somewhat well documented 3D n-body simulator in C++. There are build and run scripts for nearly all platforms if you have clang and a C++ standard library implementation that support c++20.
## Windows Clang and MSVC STL Installation
### Clang
- Install [LLVM](https://releases.llvm.org/)
- Add `C:\Program Files\LLVM\bin` to [PATH](https://stackoverflow.com/a/44272417/17921095)### MSVC STL
- Install [Build Tools for Visual Studio 2022](https://aka.ms/vs/17/release/vs_BuildTools.exe)
- Open the **Visual Studio Installer**. If it doesn’t open automatically, locate and launch the **Visual Studio Installer**.
- In **Build Tools for Visual Studio 2022**, click the **Modify** button.
- In the Workloads tab, check the option labeled **Desktop development with C++**.
- In **Installation Details** and **Optional**, have **MSVC v143** checked. MSVC is the only one we need, so you can uncheck the others.
- Click the **Modify** button at the bottom-right corner to start the installation.## 500 Bodies

## 250 Bodies

## 100 Bodies

## 50 Bodies

## 10 Bodies
