Closed encukou closed 3 years ago
Oh, wow! That's the cause of #36!
Great spot!
(I strongly prefer non-mutable vector classes; our hunt for a fast and non-mutable vector class to use for Transformable.pos is #17)
I think just adding a tuple(initial)
would be the most general fix, in any case.
This demo should result in a smoothly moving circle:
Instead, the movement is jerky. This is because the mutable NumPy array used in the primitive's
pos
is also used as the animation'sinitial
value.