Skip to content

Physics

Electromagnetism

Fields, charged particles and electromagnetic waves.

Interactive visual
01 · advanced

Charged Particle Motion

B bends, E pushes, together they drift

The Lorentz force curls a charge around magnetic field lines and crossed E and B make it drift sideways. Integrate it with Boris, not Euler.

Interactive visual
02 · common

Electric Field Lines

add every charge's push, then follow the arrows

Coulomb fields add as vectors; tracing streamlines along the net field draws lines that leave positive charges, end on negative ones and never cross.

Interactive visual
03 · advanced

EM Wave Propagation

leapfrog E and B on a staggered grid

Light is E and B regenerating each other. A 1D Yee grid (FDTD) leapfrogs them in time, slows them in glass and blows up past the Courant limit.