Lagrange Points

Sun and Earth are fixed in a rotating frame. Move the white point and inspect force vectors.

0.0001% 25% 50%

Note: for easier visual interpretation, the default Earth mass is intentionally increased to 25% of the Sun mass.

g_sun
g_earth
centrifugal
sum
Sun-Earth orbit (dotted)
CM-Earth orbit (dashed)
Hotkeys: 1/2/3/4 toggle vectors, L toggle L-points, G toggle grid, Space lock/unlock particle, E Earth preset, J Jupiter preset, R reset. Tap/click canvas to toggle lock. Orbit styles: Sun-Earth dotted, CM-Earth dashed. Changing Earth mass shifts CM while Sun and Earth stay fixed.