Both stars circle the barycentre (cross)
Kepler II: equal areas in equal times

Binary Star Orbit Lab: Barycentre, Equal-Area Wedges and Orbital Speeds (2D)

Two stars attract each other and circle their common centre of mass. The relative orbit is solved from Newton's gravity with the Kepler equation, and the motion is cross-checked by an independent RK4 integration. Change the two masses, the semi-major axis and the eccentricity and watch the heavier star stay close to the barycentre while the lighter one races around a bigger ellipse, the period follow T squared = a cubed over total mass, and the stars sweep equal areas in equal times. Blender-built granulated stars, with presets for Alpha Centauri-like and Sirius-like pairs and twelve independent numerical checks: RK4 period, energy, angular momentum, equal areas, barycentre, Kepler equation, Sun-Earth year and the Alpha Centauri period. Educational point-mass model, face-on, no tides or relativity.

Made with 🟠 Blender