When scene.center is modified,
labels are not redrawn unless (presumably) a redraw is done,
for example, by zooming in with the mouse.
Touching a label by updating its visible seems to effect the redraw.
The following Glowscript code demonstrates this.
[For Jupyter VPython, import VPython and remove the wait in the rate()]
Remove the comment to touch the label.
In addition, scene.center += vec(.05,0,0)
works in Jupyter VPython, but not in Glowscript.
GlowScript 2.3 VPython
arrow()
A=label(text='arrow tail')
for i in range(10):
rate(2,wait)
scene.center = scene.center + vec(.05,0,0)
#scene.center += vec(.05,0,0) #in Glowscript: Error: Property 'center' must be a vector.
#A.visible=A.visible #touch the label
(By the way, I finally started using Glowscript and
trinket.io, thanks to the recent
Partnership for Integration of Computation into Undergraduate Physics (PICUP) meeting in River Falls.
I stumbled on these bugs in developing my project.)
(Bruce... Thanks for all of your help!)
Rob