To create animated rotation, use a Path object in your document.