BezierCurve

Hierarchy

  • BezierCurve

Index

Methods

Methods

Static interpolate

  • interpolate(t: number, x1: number, y1: number, x2: number, y2: number): number
  • Returns the cubic Bezier interpolated value (float) at "t" (float) from the given x1, y1, x2, y2 floats.

    Parameters

    • t: number
    • x1: number
    • y1: number
    • x2: number
    • y2: number

    Returns number

Generated using TypeDoc