Using scale() to rotate a moving gif

Not related to the topic, but how do you make your gifs?