A tour path is a function that when called with the current projection
and data set, generates sequence of geodesic_path
s. The
path can either span the whole space of orthonormal matrices, the default
or be restricted to a subspace with the frozen argument. More details
are given in the documentation for freeze
.
new_geodesic_path(name, generator, frozen = NULL, ...)
name to give tour path
basis generator function
matrix giving frozen variables, as described in
freeze
Subsequent frames are guaranteed to be at least 0.001 radians away from the current frame. If after 10 tries the generator does not give a new basis at least this far away then we give up.
If a suitable new basis can not be found, the path function returns NULL indicating that the tour should stop.