Skip to main content

VPython visual inline for IPython Notebook

Project description

IVisual provides VPython visual API for inline use in an IPython Notebook. You might find it most useful for performing 3D visualizations of VPython visual simulations that can be viewed inline in an IPython Notebook. Typical usage often looks like this in an IPython Notebook cell

from ivisual import *

s = sphere()

The above will produce an interactive 3D window containing a sphere.

Example IPython Notebooks using this package

  1. Ball-In-Box.

  2. Rotating Boxes.

  3. Visual Widget.

  4. Spring Force.

  5. Mouse Pick.

  6. Mouse Click.

  7. Mouse Drag.

  8. Mouse Drag and Drop.

  9. Rotating Boxes with Picking.

Example IPython Notebooks based on VPython Tutorials

List of Notebooks based on Erik Thompson’s video introduction to VPython.

  1. Projectile Motion 1.

  2. Projectile Motion 2.

  3. Projectile Motion 3.

  4. Projectile Motion 4.

  5. Friction.

  6. Force, Motion & Vectors.

Unit Test Cases

  1. Unit Tests.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (189.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page