![](/static/images/ext/pdf.gif)document.pdf\documentclass[varwidth=true, border=2pt]{standalone}
\us...
![](/static/images/ext/pdf.gif)
document.pdf\documentclass[varwidth=true, border=2pt]{standalone}
\usepackage{tikz}
\usepackage{graphicx}
\usetikzlibrary{calc}
\usepackage{pgfplots}
\usepackage[autoplay,loop]{animate}
\begin{document}
\begin{animateinline}[autoplay,loop]{12}
\multiframe{24}{iAngle=0+15,icol=0+5}
{
\begin{tikzpicture}
%\draw[line width=0pt] (-2,-3) rectangle(6,3);
\draw (0,0) node[fill=white,circle,rotate=\iAngle]
{\includegraphics[width=2cm]{QSY.pdf}} (0,0) circle (1);
\draw (0,0) circle (1.4);
\coordinate (abc) at (${sqrt(9-sin(\iAngle)*sin(\iAngle))+cos(\iAngle)}*(1,0)$) ;
\coordinate (xyz) at (\iAngle:1);
\draw[ultra thick] (0,0) - -(xyz);
\draw[ultra thick] (xyz) - - (abc) ;
\fill[color=blue!\icol] (abc)++(0.5,-1) rectangle (5,1) ;
\draw[ultra thick] (abc) ++(0,-1) rectangle ++(.5,2) ;
\draw[ultra thick] (1.5,1) - - (5,1) - - (5,-1) - - (1.5,-1);
\fill[red] (xyz) circle (4pt);
\fill[red] (abc) circle (4pt);
\end{tikzpicture}
}
\end{animateinline}
\end{document}
一周热门 更多>