n-body
StarHere are 330 public repositories matching this topic...
Language: All Filter by language All 330 Python 79 C++ 65 C 33 Rust 30 JavaScript 29 HTML 19 TypeScript 14 Java 12 Jupyter Notebook 11 Julia 6 Sort: Most stars Sort options Most stars Fewest stars Most forks Fewest forks Recently updated Least recently updatedhannorein / rebound
Star 1.2k💫 An open-source multi-purpose N-body code.
astrophysics orbits keplerian-elements symplectic-integrator n-body planetary-science- Updated Nov 30, 2026
- C
mockingbirdnest / Principia
Star 946𝑛-Body and Extended Body Gravitation for Kerbal Space Program
mod gravity ksp kerbal-space-program gravitation n-body-simulator kerbal kerbalspaceprogram n-body- Updated Dec 1, 2026
- C++
Habrador / Ten-Minute-Physics-Unity
Star 363Implementations in Unity of the Ten Minute Physics YouTube channel. Instead of using Unity's built-in physics engine, you will learn how to make your own XPBD based physics engine. This is useful if you want to simulate ropes, cloth, tires, etc. You will also learn how to make fluid simulations and soft body physics.
computer-science csharp unity simulation physics unity3d physics-simulation fluid-simulation pendulum n-body cloth-simulation soft-body spatial-partitioning double-pendulum rigidbody xpbd eulerian-fluid-simulation softbody-simulation triple-pendulum soft-body-simulation- Updated Apr 20, 2026
- C#
bluescarni / heyoka
Sponsor Star 255C++ library for ODE integration via Taylor's method and LLVM
cpp astronomy llvm astrodynamics ode simd astrophysics nbody differential-equations multiprecision n-body ode-solver celestial-mechanics extended-precision just-in-time cpp23- Updated Dec 3, 2026
- C++
Canleskis / ephemeris-explorer
Star 211A simulator of gravitationally bound systems.
space n-body-simulator n-body solar-system-simulation- Updated Oct 20, 2026
- Rust
alvinng4 / grav_sim
Star 142N-body gravity simulation library with C and Python API
python c cosmology astrophysics n-body-simulator n-body gravity-simulation gravity-simulator n-body-simulation- Updated Oct 19, 2026
- C
pmocz / nbody-python
Sponsor Star 126Vectorized N-body code (Python)
tutorial scientific-computing astrophysics n-body- Updated May 8, 2025
- Python
sphexa-org / sphexa
Star 113SPH-EXA is a C++20 simulation code for performing hydrodynamics simulations (with gravity and other physics), parallelized with MPI, OpenMP, CUDA, and HIP.
sph computational-fluid-dynamics exascale n-body sph-simulations- Updated Dec 4, 2026
- C++
jan-tennert / SolarSim
Sponsor Star 110A 3D sandbox for simulating planetary orbits made with Bevy
rust simulation nasa solar-system n-body nasa-space bevy bevy-engine- Updated Nov 9, 2026
- Rust
blitzcode / rust-exp
Star 109Software rasterization, N-Body simulation and Game of Life in Rust + Haskell
rust haskell game-of-life rasterization n-body- Updated May 28, 2016
- Rust
eelregit / pmwd
Star 96Differentiable Cosmological Forward Model
simulation cosmology n-body nbody-simulation differentiable jax forward-model- Updated Jun 12, 2026
- Python
bluescarni / heyoka.py
Sponsor Star 95Python library for ODE integration via Taylor's method and LLVM
python astronomy llvm astrodynamics python3 ode simd astrophysics nbody differential-equations multiprecision n-body ode-solver celestial-mechanics extended-precision just-in-time- Updated Dec 3, 2026
- Python
alejandrobll / py-sphviewer
Star 81Py-SPHViewer is a framework for rendering cosmological simulations in Python using the Smoothed Particle Hydrodynamics scheme.
python science astronomy clustering rendering parallel openmp visualisation gas simulations python-api sph smoothed-particle-hydrodynamics neighbors n-body science-research cosmological py-sphviewer particle-data- Updated Apr 5, 2026
- Jupyter Notebook
arda-guler / orbitSim3D
Star 78Sophisticated astrodynamics and space mission simulator. Calculate n-body trajectories, perform orbital maneuvers, apply various perturbations, generate plots, and more! Minimal dependencies.
python simulator opengl astronomy space satellite astrodynamics n-body-simulator space-mission trajectory orbital-mechanics n-body mission-analysis space-simulator perturbation satellite-orbit celestial-mechanics spacesim orbital-maneuvers- Updated May 3, 2025
- Python
franciscovillaescusa / Pylians3
Star 76Libraries to analyze numerical simulations (python3)
visualization c cython python3 simulations hydrodynamics density-estimation correlation-functions power-spectrum n-body bispectrum voids- Updated Nov 19, 2026
- Cython
jamiefarnes / negative-mass-simulator
Star 67Negative Mass N-body Simulation Codes
simulations n-body-simulator n-body gravitational-simulations nbody-simulation nbody-gravity-simulation- Updated Oct 25, 2018
- Python
DrA1ex / JS_ParticleSystem
Star 51Gravity Simulation (Galaxy Birth) in real time, N-Body and 1-Body
javascript webgl canvas simulation physics physics-simulation n-body galaxy-evolution gravity-simulation galaxy-birth- Updated Oct 19, 2026
- JavaScript
lemmingapex / n-body-gravity
Star 48Interactive 2D N-body gravity simulation in the browser. Launch planets, collide galaxies and run 50,000 bodies in real time with WebGL 2 and multithreaded Barnes–Hut. Works on desktop and mobile.
javascript astronomy browser-game gravity physics-simulation webgl2 orbital-mechanics barnes-hut n-body gravity-simulation web-workers n-body-simulation- Updated Dec 1, 2026
- JavaScript
matthewholman / assist
Star 47ASSIST is a software package for ephemeris-quality integrations of test particles.
astrophysics integrator n-body planetary-science- Updated Jun 21, 2026
- Jupyter Notebook
nihiL7331 / polesitter
Star 45Header-only FMM implementation written in C99.
physics barnes-hut n-body fmm c99-algorithm- Updated Aug 9, 2026
- C
Add this topic to your repo
To associate your repository with the n-body topic, visit your repo's landing page and select "manage topics."