Use the space key to advance the animation. Use the left arrow to run it backwards.
You can borrow the coding and make your own animation pictures.