Learn R Programming

gganimate (version 1.0.10)

A Grammar of Animated Graphics

Description

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.

Copy Link

Version

Install

install.packages('gganimate')

Monthly Downloads

20,554

Version

1.0.10

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Thomas Pedersen

Last Published

June 21st, 2025

Functions in gganimate (1.0.10)

renderers

Renderers provided by gganimate
shadow_mark

Show original data as background marks
group_column

Define what graphical type a layer is
transition_components

Transition individual components through their own lifecycle
split_animation

Split an animation into chunks
shadow_trail

A trail of evenly spaced old frames
transition_layers

Build up a plot, layer by layer
save_animation

Infrastructure for animation saving
transition_manual

Create an animation by specifying the frame membership directly
transition_reveal

Reveal data along a given dimension
transition_null

Keep all data constant across the animation
transition_events

Transition individual events in and out
view_step

Follow the data in steps
view_zoom

Pan and zoom smoothly between different states
transition_filter

Transition between different filters
video_file

Wrap a video file for easy handling
tween_before_stat

Define if layers should be tweened before stats are calculated
view_static

Keep a fixed view that include all of the data
view_follow

Let the view follow the data in each frame
transition_states

Transition between several distinct stages of the data
transition_time

Transition through distinct states in time
anim_save

Save an animation to a file
gganimate-ggproto

Base ggproto classes for gganimate
ease_aes

Control easing of aesthetics
frame_vars

Access metadata about the frames in an animation
animate

Render a gganim object
enter_exit

Define how entering and exiting data behaves
shadow_wake

Show preceding frames with gradual falloff
last_animation

Retrieve the last rendered animation
gganimate

Catch attempt to use the old API
gganimate-package

gganimate: A Grammar of Animated Graphics
gif_file

Wrap a gif file for easy handling
sprite_file

Wrap an image sprite for easy handling
shadow_null

A non-existent shadow