I have a figure, in
*.eps, say a pentagon which is already drawn and then included in TeX, and I want to achieve a rotating animation. So the polygon will be rotating about some point (usually its center) at some rate. How is this done?
The topic poster seems to want a single graphic file to be rotated around its centre. In that case,
There are some examples of animations in TeX using TikZ on TeXample.net.
Here a simple example. I created a list of figures. In your case, if you have a defined picture, you can make a rotation with a
Step one : Create the pentagon
Step two : the list of pictures in pentagon.pdf with pentagon.tex
Step three : the final pdf with animate
The problem here is to get an animated gif because the pdf seems to be wrong.
You create a list of pictures. I used beamer and I have a correct size for the pictures. I named
I created a new little file
palindrome is an option of the animate package (see the doc), 12 number of frames per second (I think ...), triangle is the name of the pdf with the list of pictures. The last two arguments are for the first picture of the animation and the last. Here I use all the pictures.
I don't know how to place an animated gif on tex.se, I placed the pdf . With the help of Peter and the explanations of Martin, I get an animated gif but there are some little problems. A first result is :
|show 2 more comments|