Learn R Programming

animate (version 0.3.9.4)

A Web-Based Graphics Device for Animated Visualisations

Description

Implements a web-based graphics device for animated visualisations. Modelled on the 'base' syntax, it extends the 'base' graphics functions to support frame-by-frame animation and keyframes animation. The target use cases are real-time animated visualisations, including agent-based models, dynamical systems, and animated diagrams. The generated visualisations can be deployed as GIF images / MP4 videos, as 'Shiny' apps (with interactivity) or as HTML documents through embedding into R Markdown documents.

Copy Link

Version

Install

install.packages('animate')

Monthly Downloads

395

Version

0.3.9.4

License

MIT + file LICENSE

Maintainer

Chun Fung (Jackson) Kwok

Last Published

February 3rd, 2023

Functions in animate (0.3.9.4)

click_to_loop

Click an element to play all frames
ffmpeg_shiny

'FFmpeg'-based video editor ('Shiny' app)
animateDependencies

The HTML dependency of an 'animate' plot
animateOutput

Create an animate output (container) element
loop

Loop through the available frames n times
animate

A web-based graphics device for animated visualisations
ffmpeg

Launch the 'FFmpeg'-based video editor ('Shiny' app)
click_to_play

Click an element to play a frame
ffmpeg_command

'FFmpeg' command builder
insert_animate

Insert an animated plot into an R Markdown document
websocket

Start a Websocket server
new_id

A utility function for generating IDs
rmd_animate

In-line rendering of an animated plot in an R Markdown document