Jupyter VPython: navigable real-time 3D animations, done simply

See vpython.org for how to obtain and use the vpython module

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.

If asked to pick a notebook type, choose VPython.

Atomic solid: ball-and-spring model of a solid

Billboarding text: 3D text, with "billboarding"

Binary star: two stars orbit each other

Bounce: a ball bounces in a 3D box

Local moving lights: local lights moving around the scene

Buttons, sliders, and menus: rotating box, Jupyter widgets

Buttons, sliders, and menus: rotating box, GlowScript widgets

RGB-HSV colors: RGB <-> HSV color conversions, Jupyter widgets

RGB-HSV colors: RGB <-> HSV color conversions, GlowScript widgets

Dipole electric field: the electric field of a dipole (+ and - charges)

Double pendulum: a double pendulum shows chaotic motion

Extrusions: extrude a 2D shape along a 3D path

Live graphs: incremental graphing; mouse over the graph with crosshairs

Gyroscope: a gyroscope precessing and nutting on a pedestal

Gyroscope-suspended: a gyroscope suspended from a spring

Hard-sphere gas: a gas of colliding hard spheres, with graph of speed distribution

Lorenz function: the Lorenz function

Mouse dragging: drag objects with the mouse

Mouse picking: click on an object to change its color; see technical details

Plot 3D function: plot a function of x, y, and t

Rotating boxes: 1000 rotating boxes

Rotating curve: 15000-point rotating curve object

Rotating points: 15000-point rotating points object

Rug: a wave moves along a Navajo rug

Stars: 20 stars interacting with each other gravitationally

Surreal Stonehenge: fly through a surreal scene

Textures: textures included with Jupyter VPython, Jupyter widgets

Textures: textures included with Jupyter VPython, GlowScript widgets

Transparency: true pixel-level transparency; see technical details

VPython objects: examples of most of the VPython objects


In [ ]: