\begin{document}
\foreach \X in {0,...,35}
{\begin{tikzpicture}
\path[use as bounding box] (-4.5,0) rectangle (4.5,4);
\begin{scope}[shift={(2.5cm,0.5cm)}]
\duck
\end{scope}
\begin{scope}[xscale=-1,shift={(2.5cm,0.5cm)}]
\duck
\end{scope}
\ifnum\X>18
\draw[decoration={3d coil color=blue,aspect=0.35, segment length=3.1mm,
amplitude=3mm,3d complete coil},
decorate] (-3,1.5) to[out=0,in=180] (0,{1.5+1.2*cos(10*\X)}) to[out=0,in=180] (3,1.5);
\fi
\begin{scope}[yshift={max(-cos(10*\X)*1cm,0)}]
\ifodd\X