This java applet is a simulation that demonstrates magnetostatics and electrodynamics in two dimensions, including setups which demonstrate electromagnetic waves, reflection at conductors, reflection and refraction at dielectric boundaries, dipole and quadrupole radiation, dispersion, induction, eddy currents, standing waves, waveguides, and diffraction.

To get started with the applet, just go through the items in the Setup menu in the upper right. The arrows indicate magnetic field; the green and red indicate electric field.

This is the TM version of the applet. There is also a TE version.

Full Directions.

Full screen version.

Java Version.

More applets.

Huge thanks to Bob Hanson and his team for converting this applet to javascript.