Vpython problems

25 views
Skip to first unread message

eliza

unread,
Oct 12, 2017, 8:39:54 PM10/12/17
to comphys
I am having trouble running vpython programs on the server.  I know there was talk about adjustments we needed to do in the beginning of the semester, but I don't know if my current problems fall under those.  I can run Program 2.1 "Bouncing ball" without much difficulty, but anything else gives me such lag time that it will not run smoothly or let me do anything else while it it is trying to calculate.  Program 3.1 "Ball toss" is all over the place and definitely does not give me a smooth motion.  Are there any suggestions or things I forgot to fix that will help me run these sample programs?  

Jay Wang

unread,
Oct 12, 2017, 8:56:40 PM10/12/17
to comphys
If Program 2.1 runs fine, it means vpython is set up okay. For lagginess, I suggest you try the following:
(1) Go to the Jupyter home tab, click on "Running" near the top; then click on the Shutdown button to the right of every program running. Now run the intended program.
(2) Often, you will need to restart the kernel if you stop the animation, or after making changes to a program.
(3) Last, you may want to close some tabs in your browser, if you have many open.
Reply all
Reply to author
Forward
0 new messages