Looping figure of eight animation
in
Programming Questions
•
2 years ago
Hi
what is the recommended workflow for having an object loop within an animation of it moving through a figure of eight on it's side (as it's motion path), in Processing?
the way that I was thinking was
pushMatrix()
drawTheObject
translate
drawtheObject
translate
drawTheObject
translate...
...
popMatrix()
this method seems a bit cumbersome to use translate to trace the figure of eight with a lot of calls to draw the object.
Is there a simpler way?
Thanks :)
what is the recommended workflow for having an object loop within an animation of it moving through a figure of eight on it's side (as it's motion path), in Processing?
the way that I was thinking was
pushMatrix()
drawTheObject
translate
drawtheObject
translate
drawTheObject
translate...
...
popMatrix()
this method seems a bit cumbersome to use translate to trace the figure of eight with a lot of calls to draw the object.
Is there a simpler way?
Thanks :)
1