Animation running slower over time in GlowScript VPython

48 views
Skip to first unread message

VICTORIA ALEJANDRA RINCON GUEVARA

unread,
Aug 24, 2023, 8:36:02 AM8/24/23
to VPython-users
Hi Community,

I have the issue that my animation is running slower over time in the web, the behavior isn't proper. So I verified it using the local version of it (vpython) and in there worked perfectly I don't know how to improve the performance of my animation in the web version. 
I am doing these animations with the aim of making them accessible to people on the web, as an educational resource.

Here is a link to the web version: 
Web VPython (glowscript.org)

And I will upload as well the python file

I really appreciate any help you can provide.

 
victoriarg_L03_Resonant_Excitation.py

Bruce Sherwood

unread,
Aug 24, 2023, 12:44:27 PM8/24/23
to vpytho...@googlegroups.com
Just comment out the print statements, which are very expensive in Web VPython but not at all expensive with the vpython module.

Bruce
Reply all
Reply to author
Forward
0 new messages