Helper function to build animations.

Animation

new_animation()

Format

An object of class R6ClassGenerator of length 24.

Examples

# create animation anim <- Animation$ new()$ appear(duration = 2000, delay = 500) iris %>% g2(asp(Sepal.Length, Sepal.Width, color = Species)) %>% fig_point(anim) # pass animation to the geom