@openpv/simshady
    Preparing search index...

    Function interpolateThreeColors

    • Creates a color map function that interpolates between three colors using quadratic interpolation. Use colormaps in the ShadingScene.addColorMap method to define the colors of the returned Three.js geometry.

      Parameters

      Returns ColorMap

      A function that takes a value t (0 to 1) and returns an interpolated color.