考虑以下 MWE:
\documentclass{beamer}
\usepackage{tikz}
\setbeamertemplate{navigation symbols}{}
\begin{document}
\foreach \n in {.5,.75,...,20}
{
\begin{frame}
\centering
\transduration{.75}
\begin{tikzpicture}
\useasboundingbox (-1,-2) rectangle (1,1);
\pgfmathsetmacro\limit{atan(.5/1.5)}
\draw[dashed] (0,.5) -- (0,-2);
% \pgfmathsetmacro\newangle{(\limit/(360))*2*3.14}
% \foreach \x in {0,-10,...,\limit}
% {
% \pgfmathsetmacro\angle{45*abs(sin(\n r))}
\pgfmathsetmacro\angle{((e^(-.25*\n)*cos(2*\n r)))*30-90}
\draw (0,0) -- (\angle:1.5);
\fill[rotate=\angle] (-.5,0) -- (0,-1) -- (.5,0) -- cycle;
% \fill[rotate around={(-.5*\angle:(\angle:1.5))}] ([xshift=-.1cm]\angle:1.5) -- ([yshift=-.1cm]\angle:1.5) -- ([xshift=.1cm]\angle:1.5) -- cycle;
\fill[shift={(\angle:1.5)},red] (90+\angle:.5) -- (270+\angle:.5) -- (\angle:.7) -- cycle;
\draw[fill=white] (\angle:1.5) circle(.5cm);
% }
\end{tikzpicture}
\end{frame}
}
\begin{frame}{Hallo}
Hallo, Welt!
\end{frame}
\end{document}
输出如下:
我的问题是:如何才能提高transduration
速度?