Numerical simulations of charged particle motion in the Van Allen radiation belts under the influence of Earth's magnetic field, with visualizations of the results.
This coding project was motivated by an E&M video project on the topic, which can be viewed here.
The animation style is inspired by 3Blue1Brown and can be reused for other kinds of particle simulations if desired.
The Earth is modeled as a blue sphere located at the center while the blue arrows surrounding it represent the magnetic field lines. A multi-coloured line, evolving from dark violet to light yellow, traces the path of an electron-like particle through the magnetic field. The colour gradient along this trajectory marks the passage of time, with the darker shades indicating the particle's earlier positions and the brighter shades indicating more recent ones.
More impressive animations can be viewed in the Animations folder.
Here it is: Documentation
GNU General Public License v3.0
Uhhh
If you have any feedback, feel free to reach out to us!