grid.animate | R Documentation |
Creates an animated.grob object.
Useful in conjunction with
grid.export
, to produce an SVG document with
animated graphical elements.
animateGrob(grob, ...,
duration=1,
rep=FALSE, revert=FALSE,
begin=0, interpolate="linear", group=FALSE)
grid.animate(path, ..., group=FALSE, redraw = FALSE,
strict=FALSE, grep=FALSE, global=FALSE)
grob |
A grob to add animation to. |
path |
A grob path specifying a drawn grob. |
... |
Arguments of the grob to animate. |
duration |
The duration in seconds of the animation. |
rep |
The number of times the animation should repeat.
|
revert |
What should happen when (if) the animation ends;
|
begin |
When the animation should begin (seconds). |
interpolate |
A character value describing how animation values are
interpreted. One of |
group |
A logical indicating whether the animation values should be applied to the overall group element in SVG or to individual SVG elements. |
redraw |
A logical value to indicate whether to redraw the grob. |
strict |
A boolean indicating whether the |
grep |
Whether the |
global |
A boolean indicating whether the function should affect just the
first match of the |
An animated.grob object.
Paul Murrell
grid.export
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.