Source Academy Modules
    Preparing search index...

    Variable invertConst

    invert: CurveTransformer = CurveFunctions.invert

    This function is a Curve transformation: a function from a Curve to a Curve. The points of the result Curve are the same points as the points of the original Curve, but in reverse: The result Curve applied to 0 is the original Curve applied to 1 and vice versa.

    original Curve

    result Curve