meo-canvas
    Preparing search index...

    Function mix

    • Blends two values of the same kind.

      Numbers, colours, and arrays of either. A colour string is not accepted — see Animatable — so a value this cannot blend is a type error rather than a silent mis-blend.

      Type Parameters

      Parameters

      • from: T
      • to: T
      • t: number

      Returns T