N-Body Simulation Tutorial in Excel! @s0lly
N-Body Simulation Tutorial in Excel!  @s0lly
Uploaded May 2019 | Updated September 2026, 1 hour ago
This tutorial aims to demonstrate how Excel can be used to create an n-body simulation engine. This particular engine has 100 objects and is useful for understanding the formulae that underpin larger n-body simulations.

The excel file can be found here: github.com/s0lly/NBody-Simulation-in-Excel - everything is based in excel formulae with minimal VBA code for running the engine, so hopefully it will be easy to understand and follow.

Please let me know how if you have any suggestions on how I can improve things, and if there are any other topics you would like me to explore in Excel!


Acknowledgements:

Music by Eric Skiff, song "All of Us" for the intro and "Arpanauts" for the demo. (Available at EricSkiff.com/music)
N-Body Simulation Tutorial in Excel!First Games in C++: Krazy Karts (v0.79b) - Homing-in Missiles!First Games in C++: Krazy Karts (v0.78) - Powerups!First Games in C++: Dungeons and Flagons (v0.85) - Torch Shadow Casting!Game Engine 20: Camera TransitionsNew to C++: Breakout - My First Challenge!Real 3D Engine - in Excel!!A Simple FPS Raycaster Engine in C++Simple First Games in C++ : Breakout Multiplayer!First Games in C++: Dungeons and Flagons (v0.4) - Lighting TestsFirst Games in C++: Krazy Karts (v0.80) - Powerup Spawners2D Game Engine in C++: [1] Adding Sprites
s0lly |

N-Body Simulation Tutorial in Excel!

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER