How can I produce something like that
into a PDF using TikZ? (Note: It does not need colors or shadows, a simple square would be fine)
I remember there was an arara-methode, which produces the single pics for the animated gif.
% arara: pdflatex
% #arara: I DON'T KNOW
\documentclass[border=5pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{animate}
\begin{document}
\begin{tikzpicture}[]
%I DON'T KNOW
\end{tikzpicture}
\end{document}

animateandmedia9packages, as despicted at http://tex.stackexchange.com/q/5396/34551. – Clément Oct 28 '15 at 19:18pst-solides3dpackage. – AlexG Oct 31 '15 at 09:19