Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

# 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.2.0b15

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.2.0b15
File Size Uploaded
vpython-0.2.0b15.zip 189.8 kB Details

Release files / vpython-0.2.0b15.zip

Download URL vpython-0.2.0b15.zip
Size 189.8 kB
Tags Source
SHA-256 checksum
How to use checksums
071bcc7b119463c00f3ba8ecd63077220ce70dae0aa7bc496b479f72482ca263
BLAKE2b-256 checksum
How to use checksums
eb49a789c74479f8615a9d2f75840a4e5aa655955b00d5a13d9f554d60c154b2
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

0.3.0

1 release file

This release

0.2.0b15 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