This is a series of tutorials inspired by the course “CFD Python: 12 steps to Navier-Stokes”. The goal is to teach beginners how to write fast and clean N-body gravity simulations code in Python.
https://github.com/davepinch/pinchy.cc/blob/master/content/topics/physics/n-body-problem/tutorial/alvinng4.github.io.md