Guessing you know you'll need to create multiple copies of the image with the legs in different positions, then put them all together to make the gif image.
I use Animation Shop by mind works.
If you have the copies of the image and send them to me I could put it into the animation. The hardest part of making the animation is getting all the images needed created.