Lagrange (L4/L5) Accumulation of Stellar Dust


Overview: This applet simulates a star, a planet, and lots of massless dust.
The default parameters match those of the Sun and Jupiter (so an orbit takes 12 years and is slightly eccentric).
Initially, the dust is uniformly distributed in a circle around the star at the same radius as the initial radius of the planet (which starts at its apogee).
Each dust particle is given an initial small (0.01%) random out-of-plane displacement to make this a truly 3-D simulation.
Let the simulation run for several minutes (or all night!). You should then see an aggregration of dust near the L4 and L5 Lagrange points (i.e., same radius as the planet but 60 degrees ahead/behind in the orbit).

Controlling the Simulation: