animation_to_save <- anim_a + exit_shrink()
anim_save("first_saved_animation.gif", animation = animation_to_save)
Since the animation argument uses your last rendered animation by default, this also works:
anim_a + exit_shrink()`
anim_save("second_saved_animation.gif")
anim_save()
uses gifski to render the animation as a .gif file by default. You can use the renderer
argument for other output types including video files (av_renderer() or ffmeg_renderer()) or
spritesheets (sprite_renderer()):
# requires you to have the av package installed
anim_save("third_saved_animation.mp4",renderer = av_renderer())
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets