Contents

velocity(at:)

Returns the rate of change (first derivative) of the output value of the curve at the given time.

Declaration

func velocity(at progress: Double) -> Double

Parameters

  • progress:

    The input progress (x component). The provided value is clamped to the range [0,1].

Return Value

The velocity of the output value (y component) of the curve at the given time.

See Also

Getting curve characteristics