ixfx
    Preparing search index...
    • Returns a relative point between two points.

      interpolate(0.5, { x:0, y:0 }, { x:10, y:10 }); // Halfway { x, y }
      

      Alias for Lines.interpolate(amount, a, b);

      Parameters

      • amount: number

        Relative amount, 0-1

      • a: Point
      • b: Point
      • allowOverflow: boolean = false

        If true, length of line can be exceeded for amount of below 0 and above 1.

      Returns Point

      Point