Skip to main content
# VPython
This package enables one to run VPython in an Jupyter notebook, using the GlowScript VPython API, documented in the Help at http://glowscript.org. VPython makes it unusually easy to create navigable real-time 3D animations. The one-line program "sphere()" produces a 3D sphere with appropriate lighting and with the camera positioned so that the scene fills the view. It also turns on mouse interactions to zoom and rotate the camera view. The 3D scene appears in the Jupyter notebook, using the WebGL-based GlowScript 3D graphics library. This implementation of VPython was begun by John Coady in May 2014. Ruth Chabay and Bruce Sherwood are assisting in its further development. The repository for the source code is at https://github.com/BruceSherwood/vpython-jupyter.

For instructions on how to install Jupyter VPython, see http://vpython.org.

Here is a simple example that will run in a Jupyter Notebook cell:

```python
from vpython import *
sphere()
```

This will create a 3D window in the Notebook containing a 3D sphere, with mouse controls available to zoom and rotate the camera:

Right button drag or Ctrl-drag to rotate "camera" to view scene.
To zoom, drag with middle button or Alt/Option depressed, or use scroll wheel.
On a two-button mouse, middle is left + right.
Touch screen: pinch/extend to zoom, swipe or two-finger rotate.

Metadata

Release files for vpython 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vpython 0.3.0
File Size Uploaded
vpython-0.3.0.zip 191.7 kB Details

Release files / vpython-0.3.0.zip

Download URL vpython-0.3.0.zip
Size 191.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b54ba24ef1c3ad79fc7d18b870f7d53a359055e00a2b6a70056e981ec26ab04b
BLAKE2b-256 checksum
How to use checksums
293e7da5eee41a374d47233dec10fd1d5e499e17687feed610b14f10c277b125
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

7.6.5

21 release files

7.6.4

17 release files

7.6.3

17 release files

7.6.2

11 release files

7.6.1

10 release files

7.6.0

7 release files

7.5.2

6 release files

7.5.1

4 release files

7.4.6

13 release files

7.4.3

13 release files

7.4.2

9 release files

7.4.1

9 release files

7.4

9 release files

7.3.2

13 release files

7.2.0

13 release files

7.1.6

13 release files

7.1.5

13 release files

7.1.3

13 release files

7.0.3

13 release files

7.0.2

13 release files

7.0.1

13 release files

2.0.8

9 release files

2.0.7

10 release files

2.0.6

8 release files

2.0.5

8 release files

2.0.4

8 release files

2.0.3

8 release files

2.0.2

8 release files

2.0.1

8 release files

2.0

8 release files

1.0.9

10 release files

1.0.8

10 release files

1.0.7

10 release files

1.0.6

10 release files

1.0.5

10 release files

1.0.4

4 release files

1.0.3

7 release files

1.0.2

7 release files

1.0.1

7 release files

1.0.0

7 release files

0.3.11

1 release file

0.3.10

1 release file

0.3.9

1 release file

0.3.8

5 release files

0.3.7

1 release file

0.3.6

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

This release

0.3.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page