December 20th, 2004, 11:10 PM
Can I clear the visual screen? How?
I don't know if this forum is for vpython as well, but does anyone know if theres a way to clear all objects from the visual screen? I read the threads about clearing the idle screen. I just set up a loop, and things get messy because old objects stick around and block the view
I need the loop because I want the visual program to run many times so that I can use the results of each loop to plot a graph point.
December 20th, 2004, 11:46 PM
I found something. I just used
for obj in scene.objects:
obj.visible = 0
But...does anyone know if these objects, though invisible, will begin to slow the program? Its a big loop.