Function interpolateMagma

  • Given a number t in the range [0,1], returns the corresponding color from the “magma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, represented as an RGB string.

    Parameters

    • t: number

      A number in the interval [0, 1].

    Returns string