zurich
pic source

Javascript SVG example: The restricted celestial three body problem.


Orbits of a satellite in the gravitational field of two planets.

Earth, moon, satellite: Changing path between planets.
Two identical planets, satellite: Changing path between planets.
Two identical planets, satellite at fixpoint (L4,instable)


Javascript file: ThreeBodies.js
Numeric integration: Explicit 4th order Runge Kutta one step method.
Math. description: ThreeBodies.pdf

Short HTML example: