-
Go to my fork of the VPython Binder repository in your browser.
-
That will take you to a new page and trigger deploying version of the jupyter notebook environment from the correct repository. You shouldn't need to do anything as this takes place; you can watch the progress bar roughly in the middle of the screen, just below the
Launchbutton. It may take about a minute. After it boots up, it should bring you to the dashboard that will look like below
- Select
Newfrom the right side and then select to open eitherPython 3orVPythonnotebook from the drop-down menu that will look something like below. It doesn't matter which one you choose at this time. (There probably will no longer be a choice forPython 2in the drop-down menu.)
-
Now you can paste your code in the cell and then you should be all set to run the cell. To run the cell you can hit
shift-enterto run it. Alternatively, click on the "Play" button [►|] on the toolbar just above the notebook or selectCells>Runin the notebook menu. -
If you see a note about
WebGLnot working in your browser and are using Chrome, try activating graphics acceleration under advanced settings (Menu>Settings>Show Advanced Settings>System menu), as instructed here. You'll need to restart the browser after this. -
See here for dealing wiht the generated data.

