I wrote this code a create a image animation out of a sequence of jpeg’s or png’s that are exported from Adobe Media Encoder. This way you can have full control of the animation speed and render bandwidth using the JS function. With jpeg’s it is a smaller file size and better quality than a long GIF. So it ends up being great for mobile and high resolution screens.