Content from the original site
https://web.archive.org/web/2001*/http://physics.syr.edu/~salgado/software/vpython/
is slowly being copied here.
Some links may be broken... but they will be fixed soon.
|
How to run these Python programsThese python programs (pythlets?) are written in Python with the "visual" module VPython, which provides real-time interactive visualization in 3D.
You can
download the current version of VPython here
and read about its development at the
visualpython-users mailing list.
The older Python-2.4/VPython-3.2.9 version is here
(local copy: python-2.4.1.msi and VPython-Win-Py2.4-3.2.9.exe).
Here is a local copy of the even older version
(local copy: Python-2.3.4.exe and VPython-Py2.3.4-2003-10-05b.exe).
|
wave_superposition.py tested with VPython23-2003-10-05
doppler-wavefront.py tested with with Python-2.3.4.exe and VPython-2003-10-15.exe
2D-kinematics-with-vectors.py tested with VPython23-2003-10-04 2D-kinematics-with-vectors-circular.py tested with VPython23-2003-10-04 2D-kinematics-with-vectors-circular-polar.py tested with VPython23-2003-10-04
1D-kinematics.py tested with VPython23-2003-09-04 1D-kinematics-with-vectors.py tested with VPython23-2003-10-04 1D-kinematics-with-vectors-alt.py tested with VPython23-2003-10-04
EFieldBuilder-09990.py (v0.9990) tested with VPython-2003-10-05.exe EFieldBuilder-0997-22.py (v0.9972) requires VPython-2001-12-31.exe EFieldBuilder-0997.py (v0.997) requires VPython-2001-10-31.exe EFieldBuilder-0996.py requires VPython-2001-10-31.exe EFieldBuilder-099.py
Maxwell-Gauss-Coulomb_v275.py tested with Python 2.3/VPython-2003-10-05.exe Maxwell-Gauss-Magnetic_v275.py tested with Python 2.3/VPython-2003-10-05.exe
Maxwell-Ampere.py (v2.52) tested with VPython-2001-10-31.exe Maxwell-Ampere_v275.py tested with Python 2.3/VPython-2003-10-05.exe (includes change in color scheme) Maxwell-Ampere_v276.py tested with Python 2.4/VPython-3.2.9 (includes change in color scheme)
Maxwell-Faraday.py (v2.52) tested with VPython-2001-10-31.exe Maxwell-Faraday_v275.py tested with Python 2.3/VPython-2003-10-05.exe (includes change in color scheme) Maxwell-Faraday_v276.py tested with Python 2.4/VPython-3.2.9 (includes change in color scheme)
EMWave-020110.py (v0.5) tested with VPython-2001-10-31.exe EMWave-030216.py (v0.51) tested with VPython-2001-10-31.exe EMWave.py (v1.00) tested with VPython-2003-10-05.exe EMWave-Maxwell.py (v2.51) tested with VPython-2003-10-05.exe EMWave-Maxwell_v275.py tested with Python 2.3/VPython-2003-10-05.exe (includes change in color scheme) EMWave-Maxwell_v277.py tested with Python 2.5/VPython-3.2.11 (Thanks to Martin Mason for changes needed for Python 2.4+.) EMWave-Maxwell_v280.py tested with Python 2.6/VPython-3.2.11 (fixed bug with scene.ambient [2015-10-31])
Under development: VPython projects (led by Rob)
Visualizing Proper Time in Special Relativity
(under development)This demonstrates the addition of two covectors (two "1-forms") via the "co-parallelogram rule".
Aa
+
Ba
=
Ca
(2008) VPython with Real-Time Data [with Tav Hawkins]
| ||||||||||
VPython with the Wiimote(based on our presentation at AAPT09Sum-AnnArbor)
This is an update of our earlier version [for Python 2.4 / VPython 3.2.9 / WiimoteLib 1.2.1 / Python for .NET 1.0 ] from above. For Windows XP and Vista... (checked with XP SP3 and Vista64)
|
|
Using Python 2.3 Here's a registration-file for Windows 2000 and Windows XP that will fix that problem with the IDLE editor closing completely when terminating an animation you are working on. Python-File-new.reg It assumes that you installed Python in the C:\ drive. If so, you may just "Open" it. Otherwise, download [Right-click->Save Link to...] the appropriate pair to your desktop, then after reading the .reg files and making any desired changes, merge with your registry. Then, "Merge" it by double-clicking on it. Python-File-new.reg
If you mess up, you can try to clean things up in Explorer
via Tools->FolderOptions->FileTypes...->PY Python File->Advanced |
|
Using Python 2.3 and Python 2.4
These registry hacks to allowed me to select which VPython version is used to execute a .py file.
They may work for you. My Python installations are on the F:\ drive: Py23_HLM_driveF.reg - Py24_HLM_driveF.regIf your installations are on the C:\ drive, use: Py23_HLM_driveC.reg - Py24_HLM_driveC.reg
If you mess up, you can try to clean things up in Explorer
via Tools->FolderOptions->FileTypes...->PY Python File->Advanced |
This program demonstrates a subtlety in the copyobjects() function
on
http://www.vpython.org/webdoc/visual/options.html
copyobjects-subtlety.py tested with VPython23-2003-09-18
Working example of an improved copyobjects()
and a new updatecopyobjects().
copyobjects-example.py tested with VPython23-2003-09-18