hermiteStopEase()
pixi-wheels / index / hermiteStopEase
Function: hermiteStopEase()
function hermiteStopEase(startSlope: number): EaseFn;
Defined in: utils/easing.ts:144
A stop curve that begins already moving: position goes 0 to 1 with initial
slope startSlope (normalised: speed * duration / distance) and zero slope
at the end. Monotonic for slopes in 0..3. Lets a leg take over from a slow
crawl without a velocity step.
Parameters#
| Parameter | Type |
|---|---|
startSlope | number |