Description Usage Arguments Value Examples
Animate image. Resulting file best viewed in Google Chrome.
1 2 3 4 5 6 7 8  | image_animate(
  input,
  attribute = "opacity",
  values = c(0, 1, 0),
  duration = 10,
  openfile = TRUE,
  output = input
)
 | 
input | 
 File name of .svg file to input  | 
attribute | 
 Name of attribute. opacity is the default  | 
values | 
 Vector of values to go between. Defaults to c(0,1,0)  | 
duration | 
 Number of seconds for animation to last, defaults to 10 seconds  | 
openfile | 
 Open file in default program for .svg format. Defaults to FALSE.  | 
output | 
 File name of .svg file to output. Default is to overwrite the input file.  | 
output name
1 2 3 4 5 6 7  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.