Attached is a VPython program that is a useful lecture demo tool for
displaying various aspects of electric and magnetic fields, which you
might find interesting (and I'd appreciate critical comments if you play
with it).
It is based on the features in a program "EM Field" by David Trowbridge
and me, which won a national prize and has been distributed by Physics
Academic Software. That program, which was written in the cT language
(see the cT archives at vpython.org) is showing its age, and in
particular there isn't a Mac version that runs on OSX, nor a Linux
version, so it seemed time to make a modern version. Ultimately it would
be good to provide a 3D version of the Gauss's law visualization, but
that's for the future.
Bruce
|