Home▸Space & Astronomy▸Van Allen Belt Particle Trajectory (2D)

🧲 Van Allen Belt Particle Trajectory (2D)

2D cross-section simulation of a single charged particle trapped in Earth's dipole magnetic field: real Lorentz-force RK4 trajectory showing gyration, magnetic-mirror bounce and drift.

Space & Astronomy2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-van-allen-belt ↗ Open standalone

About this simulation

This is the 2D companion to the 3D Van Allen Belts simulator. It follows a single charged particle through Earth's real dipole magnetic field, integrated with classic 4th-order Runge-Kutta on the full Lorentz-force equation of motion F = q(v × B) in three dimensions, then projects the trajectory onto the meridian (r, z) cross-section for display. Because the underlying integration is genuinely 3D, the projected curve shows real gyration (the tight coiling around the field line), real magnetic-mirror bounce (the particle decelerating, reversing and bouncing between northern and southern mirror points as |B| strengthens toward the poles), and — through the analytic L-shell and altitude readout — the same physics that traps real protons and electrons in the Van Allen belts.

Adjust the particle's energy, initial pitch angle and charge sign, then launch it (or click/tap anywhere in the field) to watch it spiral and bounce. Particles whose pitch angle is too small mirror below the modelled atmosphere (1.03 RE) and are lost; particles launched with too much energy or too shallow a field-aligned component can also escape outward.

⚙ Under the hood

A 2D meridian-plane cross-section of a single charged particle trapped in Earth's real dipole magnetic field. The full 3D Lorentz-force equation of motion is integrated with 4th-order Runge-Kutta, showing real gyration around field lines, magnetic-mirror bounce between the poles, and drift. Adjust energy, pitch angle and charge sign, then launch the particle.

van allen beltlorentz forcedipole fieldmagnetic mirrorspace physicscharged particle

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)