routePosition

function routePosition
cinematic.ts:411
routePosition(beats: readonly RouteBeat[], frame: number) → UniverseVector

Position along a route, Catmull-Rom over non-uniform frame knots.

Hermite with finite-difference tangents rather than linear-with-easing, because the long journey shot is one unbroken camera move: a piecewise linear path announces every waypoint with a visible kink in the planet passes, and the whole point of the beats is that nobody can see where they are. Arithmetic runs in displacements from the segment's start beat — a Vec3 spanning AU-scale legs holds micrometer precision in doubles, and UniverseVector remains the only absolute position in the interface.

Before the first beat and after the last the route holds still: a cutscene that keeps creeping after its final beat reads as a bug, not a style.

beatsreadonly RouteBeat[]
Undocumented
framenumber
Undocumented