![In Progress](https://badge.waffle.io/ablejec/animatoR.svg?label=In Progress&title=In Progress)
Support for Animated Graphics in Base R Graphics
Enable plotting of graphics elements (e.g. points, lines, segments) in any position between two predefined positions.
The central function animator()
takes care about the repeated plotting of graphical elements at different positions.
As a simple example, user can define the starting and ending position of a point and animator()
will produce plots of the point between those positions.
The result is an animated impression of the point moving along the screen.
Note: package is under development, some things might change!
if (!require(devtools)) {
install.packages("devtools")
require(devtools)
}
devtools::install_github("ablejec/animatoR")
Move one point across the screen:
require(animatoR)
# Move one point across the screen
cmd <- "newplot(stamp=TRUE)
tpoints(0,0,5,10,trace=TRUE,pch=16,cex=1.5)"
animator(cmd)