meo-canvas
    Preparing search index...

    Function interpolate

    • Interpolates across a keyframe track.

      Values hold outside the declared range rather than extrapolating, which is what a keyframe track means: the first and last frames are states, not the start of a slope. That is an input clamp on the track and is unrelated to the output clamp being dropped from colour.

      Type Parameters

      Parameters

      • t: number
      • stops: readonly number[]
      • values: readonly T[]
      • Optionaloptions: { ease?: EasingName | ((t: number) => number) }

      Returns T