pub fn path_angle(
animation: &AnimatedPoint,
time: MediaTime,
aspect: f64,
context: &SampleContext<'_>,
) -> f64Expand description
The clockwise angle in degrees of a position’s path where the position is at time,
measured from the positive x axis in a space aspect wide per unit high: the direction of
its spatial curve between keyframes, or of the path of a path position. 0 for a position
with no path.
It is the path’s direction, not the travel’s: a value that backs up along its path, by an
overshooting curve or a mirrored ping_pong pass, keeps pointing forwards. While a keyed
position holds or stands still it keeps the direction the next move starts with, or after
the last move the one that move ended with.