Description Usage Arguments Value Examples
View source: R/animate_pacman.R
Create a Pac-Man Game GIF
1 2 3 4 5 6 7 | animate_pacman(
pacman,
ghosts,
file = NULL,
caption = iconv("© Mickaël 'Coeos' Canouil", "UTF-8"),
font_family = ""
)
|
pacman |
A |
ghosts |
A |
file |
File name to save GIF on disk. |
caption |
A caption to add below the GIF. |
font_family |
The font family to use for the caption. |
Returns a gif_image
object. See gganimate::gifski_renderer
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.