Thanks, Simon, but your program uses the original ivisual module, not the vpython module. John Coady created ivisual, and later he, Ruth Chabay, and I have collaborated in creating the vpython module, which is now much more complete and robust than ivisual. Note that the ivisual repository hasn't changed since last December, and that the repository gives a link to
vpython.org, where you will find detailed documentation.
Jupyter VPython uses the same syntax as GlowScript VPython (
glowscript.org). The difference is that the GlowScript version uses the RapydScript Python-to-JavaScript transpiler and makes it possible to write and run programs in the browser, without installing anything. This has proven to be highly appropriate for those new to programming, but there is no access to the world of Python modules. Jupyter VPython is appropriate for experienced programmers because 1) it is true Python (RapydScript tries to come close but cannot be 100% correct Python) and 2) it of course provides access to all Python modules. Jupyter VPython uses the GlowScript library to display the 3D animations in the notebook.