Hosanna UI API v1.30.2-next
    Preparing search index...

    Function interpolatePoint

    • Interpolates between two points represented as arrays of two numbers.

      Parameters

      • a: number[]

        The starting point [x, y].

      • b: number[]

        The ending point [x, y].

      • fraction: number

        The interpolation fraction (0 to 1).

      Returns number[]

      The interpolated point.