VPython Changelog

What's new in VPython 6.11

Jan 13, 2015
  • corrects an error in setting the axis of an object, in which sometimes the orientation of the object would flip 180 degrees, most noticeably when setting the axis of a frame.

New in VPython 6.04 (Apr 22, 2013)

  • VPython 6.04 released to fix bugs and improve documentation

New in VPython 6.03 (Feb 28, 2013)

  • Almost all VPython 5 programs will run on VPython 6 with no change. However, animation loops must have a rate or sleep statement (not time.sleep) to permit the screen to be updated, and you must import visual or vis before importing graph or controls or filedialog, which most users have always done anyway.
  • New features in VPython 6
  • It is now possible to add controls such as buttons and sliders to a window that contains a VPython 3D scene, and these controls ("widgets") have the look and feel of the platform the program is running on (Windows, Mac, Linux). The usual zoom and rotate mouse options are available in the 3D portion of the window.
  • Here is a snapshot of the example program widgets.py:
  • There are new "callback" and "waitfor" mechanisms available for handling mouse and keyboard events, which provide more flexibility and capability.
  • The functions for reading and writing files now offer platform-standard file dialog boxes.
  • At times you may need to know how large is the display region inside a window: window.dwidth and window.dheight are the extra width and height of windows compared to the display region. For example, if scene.width and scene.height are 500, the actual display region within the window has width = scene.width - window.dwidth and height = scene.height - window.dheight. If a menubar is added, that takes up an additional amount of vertical space given by window.menuheight.

New in VPython 5.74 (Oct 11, 2012)

  • Corrects an error in the display of ellipsoids.

New in VPython 5.73 (Oct 11, 2012)

  • Corrects some bugs in the controls module and the text object.

New in VPython 5.72 (Oct 11, 2012)

  • Corrects a bug in graphs where plotting (0,.001) followed by (.001,.001) failed to autoscale correctly.
  • Also added documentation explaining what objects are used to represent gdots, gcurves, ghbars, and gvbars.

New in VPython 5.71 (Sep 9, 2011)

  • adds log-log and semilog plots to graphs, and the ability to offset the graph origin.

New in VPython 5.70 (Sep 9, 2011)

  • adds an easy way to leave a trail behind a moving object.

New in VPython 5.61 (Sep 9, 2011)

  • adds mouse crosshairs to graphs, simplifies the use of controls (no need to call interact), fixes a long-standing inconsistency in the background of a label object's box, and fixes bugs in materials.bricks and in the checking for the presence of Polygon and font modules.

New in VPython 5.60 (Sep 9, 2011)

  • adds facilities to extract faces data from extrusion and text objects, the ability to make these objects single-sided for increased speed, and improved gear facilities in the shapes library, including rack gears.