Binary Star System Simulation: Build Your Own
A binary star system simulation lets you watch two stars orbit their common centre of mass, and it is one of the most rewarding beginner projects in computational physics. You will build a small program that steps the stars forward in time under Newtonian gravity, then plot their paths to see the familiar figure-eight, ellipse, […]