Position
Let the camera position be the three-dimensional vector
Fixed-start interpolation
The fixed-start algorithm saves
When
Feed-forward with error correction
The feed-forward-with-error-correction algorithm first applies the target's inter-frame displacement directly to the previous frame's camera position, then corrects the remaining error. Let the previous frame's camera position be
Then compute the error between the temporary position and the current target:
The correction ratio is the share of this frame's progress increment in the previous frame's remaining progress:
After clamping
When