planned_tour_givens {woylier} | R Documentation |
A planned tour path using frame-to-frame interpolation.
Description
The planned tour takes you from one basis to the next in a
set order. Once you have visited all the planned bases, you either stop
or start from the beginning once more (if cycle = TRUE
).
Usage
planned_tour_givens(basis_set, cycle = FALSE)
Arguments
basis_set |
the set of bases as a list of projection matrices or a 3d array |
cycle |
cycle through continuously ( |
Details
Usually, you will not call this function directly, but will pass it to
a method that works with tour paths like tour::animate()
,
tourr::save_history()
or tourr::render()
.
Value
creates planned tour path
See Also
The tourr::little_tour()
, a special type of planned tour
which cycles between all axis parallel projections.
Examples
library(tourr)
twod <- save_history(flea[, 1:3], max = 5)
str(twod)
tourr::animate_xy(flea[, 1:3], woylier::planned_tour_givens(twod))
tourr::animate_xy(flea[, 1:3], woylier::planned_tour_givens(twod, TRUE))
oned <- tourr::save_history(flea[, 1:6], tourr::grand_tour(1), max = 3)
tourr::animate_dist(flea[, 1:6], woylier::planned_tour_givens(oned))
[Package woylier version 0.0.9 Index]