This demo employs a 3D interface to display the propagation of an Electromagnetic Wave. The electric field E and the magnetic field M are perpendicular to each other and to the direction of propagation. Up/Down Right/Left arrows and a/z keys rotate the system in 3D. 1 & 2 keys show each field oscillation separately
Homage to James Clerk Maxwell and his equations. Inspiration: http://i.stack.imgur.com/0MeNf.gif The 3D interface is a based on a projection algorithm I developed some years ago to make Geometer's Sketchpad display 3D curves. I learned a tremendous amount from @Mr_Pyro_ 3D Wireframe Engine project about optimizing rendering and keyboard effects. Much much thanks.