Learn R Programming

gganimate (version 1.0.9)

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,476

Version

1.0.9

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

February 27th, 2024

Functions in gganimate (1.0.9)

shadow_null

A non-existent shadow
group_column

Define what graphical type a layer is
shadow_wake

Show preceding frames with gradual falloff
shadow_mark

Show original data as background marks
shadow_trail

A trail of evenly spaced old frames
renderers

Renderers provided by gganimate
split_animation

Split an animation into chunks
save_animation

Infrastructure for animation saving
transition_components

Transition individual components through their own lifecycle
sprite_file

Wrap an image sprite for easy handling
transition_time

Transition through distinct states in time
transition_states

Transition between several distinct stages of the data
transition_layers

Build up a plot, layer by layer
transition_null

Keep all data constant across the animation
tween_before_stat

Define if layers should be tweened before stats are calculated
transition_events

Transition individual events in and out
transition_filter

Transition between different filters
view_static

Keep a fixed view that include all of the data
video_file

Wrap a video file for easy handling
transition_manual

Create an animation by specifying the frame membership directly
view_follow

Let the view follow the data in each frame
view_step

Follow the data in steps
transition_reveal

Reveal data along a given dimension
view_zoom

Pan and zoom smoothly between different states
anim_save

Save an animation to a file
frame_vars

Access metadata about the frames in an animation
ease_aes

Control easing of aesthetics
gganimate

Catch attempt to use the old API
enter_exit

Define how entering and exiting data behaves
animate

Render a gganim object
gganimate-package

gganimate: A Grammar of Animated Graphics
last_animation

Retrieve the last rendered animation
gganimate-ggproto

Base ggproto classes for gganimate
gif_file

Wrap a gif file for easy handling