gganimate-package: gganimate: A Grammar of Animated Graphics

Description Good starting points Author(s) See Also



The grammar of graphics as implemented in the 'ggplot2' package has been successful in providing a powerful API for creating static visualisation. In order to extend the API for animated graphics this package provides a completely new set of grammar, fully compatible with 'ggplot2' for specifying transitions and animations in a flexible and extensible way.

Good starting points

The animate() function documentation describes how to specify how the animation is rendered, whereas the documentation for the different transition functions, e.g. transition_states(), describe how to declare the animation.

Both ease_aes() and the different enter and exit functions are good to understand in order to modify tweening of the animation.

Apart from the included documentation there is also a few web ressources worth mentioning:


Maintainer: Thomas Lin Pedersen (ORCID)


Other contributors:

See Also

Useful links:

gganimate documentation built on Oct. 23, 2020, 8:04 p.m.