| PHYS112 : Animations |
Visual Python Animations
The animations below with file names ending with the suffix .py are written in the Python programming language with the Visual Python 3D graphics package. Both the Python language and the Visual Python package are open-source software - they are available for free. You can download both from the Visual Python Web site :
http://www.vpython.orgFollow the ``Downloads'' link and follow the instructions. It is important to download and install Python before Visual Python.
To run an animation, left-click on the animation link in the online lecture notes, and use Save Target As... to save a copy of the code. If you have installed Python and Visual Python, double-clicking on your local copy of the animation code should run it.
I have produced several animated GIF images of optical systems
using the POV-Ray Some of the animations I use are Java applets called "Physlets"
produced by the Web Physics
Physlets are embedded in Web pages which you can view with
Microsoft Internet Explorer with the Java "Virtual Machine" plugin.
You can download the plugin for free from Sun Microsystems :
ray tracing program. All you need is a web
browser to view them.
Java Applets
group at
Davidson College.
http://java.com/en/index.jsp
Once you've installed the Java plugin, the applets should work
automatically.
| Copyright © 2003-2009, Lewis A. Riley | Updated Wed Apr 16 10:00:20 2008 |