Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 645 Bytes

File metadata and controls

40 lines (28 loc) · 645 Bytes

3D Objects in VPython

/images/allobjects.png

The basic graphical objects in VPython are:

.. toctree::
   :maxdepth: 1

   arrow
   box
   cone
   curve
   cylinder
   ellipsoid
   helix
   label
   points
   pyramid
   ring
   sphere
   3D text <text>

Designing objects

You can also design your own object: See :doc:`Design New Objects <makeshapes>`

Delete an Object

The Python function del does not work with VPython objects.

To hide a VPython object make it invisible:

ball.visible = False