The swimming body.
The resolved stroke skeleton on [0,1], with the hip target fixed and prescribed movement at rest at both endpoints.
World horizontal heading, unit.
The horizontal surface and medium density.
Longitudinal trajectory with state [distance, phase velocity].
Integrate the longitudinal travel of one keyed stroke from rest.
Positions on a uniformly sampled stroke phase are differentiated at the knots. Interpolate those derivatives and the submerged drag coefficients during integration. With quadratic drag in still water, changing the duration scales all velocities by its inverse and accelerations by its inverse square. The trajectory therefore stores metres and metres per unit phase. The model uses the body mass for the translating hip target and omits longitudinal momentum redistribution from the posed limbs.