From: Karim D. <kar...@sa...> - 2002-06-17 04:13:31
|
This question may have been addressed before, but I am new to vpython and I have not found the answer so far: I am drawing vectors representing the magnetic field surrounding a = moving charge but at every iteration my program draws the new vectors on = top of the previous ones. I would like to be able to draw only the = current vectors. Is there a way of "refreshing" the display as in Java? I tried to tinker with the visible attribute of my vectors (trying to = turn "visible" on and off) but it did not work. Thanks for any pointers. Karim Diff |