Transitions

Transitions are used to declare how plot data should be interpreted in terms of the animations dimension.

transition_states()

Transition between several distinct stages of the data

transition_time()

Transition through distinct states in time

transition_reveal()

Reveal data along a given dimension

transition_events()

Transition individual events in and out

transition_filter()

Transition between different filters

transition_layers()

Build up a plot, layer by layer

transition_components()

Transition individual components through their own lifecycle

transition_manual()

Create an animation by specifying the frame membership directly

transition_null()

Keep all data constant across the animation

Views

Views define how the ranges of the coordinate system changes during the animation.

view_follow()

Let the view follow the data in each frame

view_step() view_step_manual()

view_zoom() view_zoom_manual()

Pan and zoom smoothly between different states

view_static()

Keep a fixed view that include all of the data

Shadows define how data assigned to other than the current frame is displayed in the frame.

shadow_wake()

Show preceding frames with gradual falloff

shadow_trail()

A trail of evenly spaced old frames

shadow_mark()

Show original data as background marks

shadow_null()

Tweening

These functions allows control over how graphical elements change into, between, and out of states.

ease_aes()

Control easing of aesthetics

enter_manual() enter_appear() enter_fade() enter_grow() enter_recolour() enter_recolor() enter_fly() enter_drift() enter_reset() exit_manual() exit_disappear() exit_fade() exit_shrink() exit_recolour() exit_recolor() exit_fly() exit_drift() exit_reset()

Define how entering and exiting data behaves

Rendering

These functions allows you to control the rendering of the animation specified using the functions above.

animate() print(<gganim>) knit_print.gganim()

Render a gganim object

gifski_renderer() file_renderer() av_renderer() ffmpeg_renderer() magick_renderer() sprite_renderer()

Renderers provided by gganimate

Output

These functions facilitates working with the output of a rendered animation.

anim_save()

Save an animation to a file

last_animation()

Retrieve the last rendered animation

frame_vars()

split_animation()
gganimate-package