Added the code for the FrameAnimation recipe.