I'm trying to animate a circle with some squares inside. I'd like the whole circle to rotate around its center. Somehow, the circle scaling is varing depending on the angle value. I've read a couple of posts and both animate and rotating manuals. Can someone please help me?
\documentclass{standalone}
\usepackage{tikz}
\usetikzlibrary{calc}
\usepackage[autoplay,loop,nomouse]{animate}
\usepackage{rotating}
\newcommand{\obj}[1]{
\begin{turn}{#1}
\begin{tikzpicture}%[scale = 1]
%% Large circle
\draw (0,0) circle [radius=2.25in,very thick];
\node at (0,0) [rectangle,minimum size=1cm,fill=black,draw=black,shift={(3.5cm,3.5cm)},rotate=45] () {};
\node at (0,0) [rectangle, minimum size=.5cm,fill=black,draw=black,shift={(3cm,2cm)},rotate=25] () {};
\node at (0,0) [rectangle, minimum size=.25cm,fill=black,draw=black,shift={(1.75cm,1.5cm)},rotate=80] () {};
\end{tikzpicture}
\end{turn}
}
\begin{document}
\begin{animateinline}[controls]{72}%
\multiframe{72}{iAngle=0+5}{%
%iAngle = 80, 90, ..., 360 degrees
\obj{\iAngle}
}%
\end{animateinline}%
\end{document}

