grid.animate: Animate a grid grob
Description
Creates an animated.grob object.
Useful in conjunction with
gridToSVG, to produce an SVG document with
animated graphical elements.Usage
grid.animate(path, ...,
duration=1,
rep=FALSE, revert=FALSE,
begin=0, interpolate="linear", group=FALSE)Arguments
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.
FALSE means once, TRUE means indefinitely.
revert
What should happen when (if) the animation ends;
TRUE means revert to the first animated value,
FALSE means finish on the last animated value.
begin
When the animation should begin (seconds).
interpolate
A character value describing how animation values are
interpreted. One of linear or discrete.
group
A logical indicating whether the animation values
should be applied to the overall group element in SVG or
to individual SVG elements.
synopsis
animateGrob(grob, ...,
duration=1,
rep=FALSE, revert=FALSE,
begin=0, interpolate="linear", group=FALSE)
grid.animate(path, ...)