RPE Chart Utils
    Preparing search index...

    Function evaluateControl

    • Evaluate a control node array at a given chart distance x. Control nodes are sorted by descending x and interpolated with their easing.

      Parameters

      • control: ControlArray

        The control array (sorted descending by x).

      • x: number

        Chart distance from the line.

      • valueKey: "alpha" | "pos" | "size" | "skew" | "y"

        The property name to read from control nodes (e.g. 'alpha', 'pos').

      Returns number

      The interpolated control value.