I recently played around with the animate package. For a different question I created an animation of bouncing balls like this one.
\documentclass{article}
\usepackage{pgfmath}
\usepackage{animate}
\def\bounce#1#2{%
\pgfmathparse{ 3ex * abs(cos( (#2) / (#1) * 180 )) }%
\raisebox{\pgfmathresult pt}{\(\circ\)}%
}
\begin{document}
Here are some bouncing circles:
\begin{animateinline}[loop]{24}%
\multiframe{144}{r=0+0.0417}{% We need 6*24 = 144 frames here.
\bounce{1}\r%
\bounce{2}\r%
\bounce{3}\r%
}%
\end{animateinline}
\end{document}
To my surprise, the balls (i.e. circles; the glyph created by \(\circ\)) are being distorted at different points during the animation. Here is a screenshot of one frame.
This happens both in Adobe Acrobat Reader DC and PDF XChange Editor.
Why does this happen? How can it be prevented?
