Preparing search index...
    • Lerps between two RGB colors in HSV space (shortest hue path), return RGB.

      Parameters

      • fromColor: vec4

        The starting color.

      • toColor: vec4

        The ending color.

      • t: number

        The interpolation factor (0 to 1).

      Returns vec4

      The interpolated color.