Eduardo Sánchez Velasco
Truman State University
The following are some VPython mechanics demonstration programs. VPython is nothing more than regular Python with an extra module called visual. You need to have VPython (Python+visual) installed in your system to run these demos; if you don't, you can get it free of charge at http://www.vpython.org/. These demos work with Python versions 2.5-2.7. I have not tested them with Python 3.0, but they may also work with this version after only minor changes, if any.
To download a demo, right-click the item and select the option "Save Target As…". If you are using Windows, you may want to change the extension of the file from .py to .pyw; this will allow you to click the file without triggering the opening a DOS window.
- Spring Model of a Molecule
- Spherical Pendulum
- Inverse r Force Orbit
- Binary Stars Orbit
- Double Pendulum
- Multiple Pendulum with Elastic Strings
- Brownian Motion in 2D
- Gas of Hard Spheres (Tonk's Gas)
- Motion of a Symmetric Free Top
- Motion of a Gyroscope