Comment by Kennnan
This pattern of stepping with different ds along a path has a lot of applications in control theory. Often we change the ds/dt ratio based on the known acceleration profile of a motor to minimize jerk and reach our destination as fast as possible.
Generally this idea is called motion profiling: https://www.motioncontroltips.com/what-is-a-motion-profile/