routeOrientation

function routeOrientation
cinematic.ts:637
routeOrientation(beats: readonly AimBeat[], frame: number) → Quat

Orientation along a route: slerp between beats with a smoothstepped parameter, held outside the ends.

Smoothstepped because orientation is the one channel the starfield makes visible — translation barely moves a star at shell distance, but every degree of rotation sweeps the whole background, so a segment that starts or stops turning abruptly reads as a camera operator bumping the tripod.

beatsreadonly AimBeat[]
Undocumented
framenumber
Undocumented
ReturnsQuat