← all demos
Astronomy

Kepler Orbit (e=0.6)

M = E - e·sin E
Kepler Orbit (e=0.6)

An eccentric two-body orbit: the planet sweeps equal areas in equal time, so it races through periapsis and dawdles at apoapsis. Kepler's equation solved by the library's Newton iterator.

Computed & rendered in pure C# on the frozen OnlyCSharp 1.8 library — animation baked to GIF with the library's own Gif encoder (no GPU, no ffmpeg, no external packages).