Hooks to create animations in HTML output
hook_ffmpeg_html()
uses FFmpeg to convert images to a video;
hook_gifski()
uses the gifski to convert images to a GIF
animation; hook_scianimator()
uses the JavaScript library SciAnimator
to create animations; hook_r2swf()
uses the R2SWF package.
hook_ffmpeg_html(x, options) hook_gifski(x, options) hook_scianimator(x, options) hook_r2swf(x, options)
x |
Filename for the plot (a character string). |
options |
A list of the current chunk options. |
These hooks are mainly for the package option animation.fun
, e.g. you
can set opts_knit$set(animation.fun = hook_scianimator)
.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.