VPython based on wxPython
Python C++ HTML C Inno Setup Makefile Other
Permalink
Failed to load latest commit information.
VCBuild Make docs point to Python math module Mar 8, 2015
include Fix memory leak in curve and faces thru changes to primitives.py; ver… Jun 30, 2014
site-packages Add a link to a script for installing on Linux Oct 19, 2016
src revert back to wxPython-3.0.0 Jan 10, 2015
tests added tests covering import of 'vidle', 'vis', 'visual' and 'visual_c… Oct 5, 2013
.gitignore prepare for next release 6.03 Feb 20, 2013
.travis.yml One more change to build. Apr 13, 2014
Boost_OSX_Makefile.mak Initial upload of vpython-wx Nov 11, 2012
DEVELOP.md Add Enthought to glossary. May 21, 2014
INSTALL.txt Add a link to a script for installing on Linux Oct 19, 2016
MAC-OSX.md updates to docs and gl initialization Dec 27, 2014
MANIFEST.in updates for installer Jul 12, 2014
MSWINDOWS.txt Initial upload of vpython-wx Nov 11, 2012
MakeVPython2.6.iss Add more info to README Nov 12, 2012
MakeVPython2.7-32bit.iss Fix bug in setting object.axis; minor adjustments for 6.11 Dec 26, 2014
MakeVPython2.7-64bit.iss MATERIALS.PY: TEMPORARY (?) IGNORE NUMPY 1.9.1 FutureWarning Dec 27, 2014
MakeVPython2.7.iss Initial upload of vpython-wx Nov 11, 2012
MakeVPython3.1.iss Add more info to README Nov 12, 2012
MakeVPython3.2-64bit.iss Experimenting with Python 3.2 with Phoenix Apr 8, 2013
MakeVPython3.2.iss Add more info to README Nov 12, 2012
README.md Update README.md Jun 8, 2016
authors.txt Initial upload of vpython-wx Nov 11, 2012
compilevisual.py Make title for all doc pages be "VPython Help"; fix bug in Windows In… Feb 9, 2013
ez_setup.py Experimenting with Python 3.2 with Phoenix Apr 8, 2013
get_vpy_includes.py Corrections for building on Mac Python 3.2; new zip contains 2.7 and … Feb 13, 2013
license.txt Initial upload of vpython-wx Nov 11, 2012
requirements.txt More playing Apr 11, 2014
requirements_test.txt added 'requirements_test' with the additional packages necessary to r… Oct 5, 2013
setup.cfg.example prepare for next release 6.03 Feb 20, 2013
setup.py David Kalliecharan adds some BSD code to setup.py Jan 25, 2016
wxPython-src-2.9.5.0.patch Revise install instructions to use wxPython 2.9.5.0, plus needed patc… Oct 12, 2013

README.md

Future development of VPython has moved to a new project

This incarnation of VPython will not be developed further; see this announcement for an explanation and this history of the development of VPython. Development efforts are now focused on a Jupyter notebook-based version vpython-jupyter and an in-browser version that requires no local installation at all and runs on mobile devices, at glowscript.org.

The home of vpython on the web is still at vpython.org.

Read on for more information about the old VPython...

vpython-wx

Build Status

VPython 6, at vpython.org, is based on the cross-platform library wxPython. It improves VPython 5.74 and earlier by eliminating most platform-dependent code and by eliminating the threading associated with rendering.

The new version makes essential changes to the rate statement in VPython programs:

  • rate is now required; an animation loop MUST contain it.
  • rate still limits the number of loop iterations per second.
  • rate now updates the 3D scene when appropriate, about 30 times per second.
  • rate now handles mouse and keyboard events.
  • If the animation loop is missing the rate statement, the scene will not be updated until and unless the animation loop is completed.

The heart of the user-interface code, creating windows and handling events, is the file site-packages/visual_common/create_display.py. It is imported by visual/init.py and by /vis/init.py; visual imports math and numpy for convenience whereas vis doesn't.

Please report issues to the Github repository, or to the VPython forum.