Source Academy Modules
    Preparing search index...

    Variable unit_line_atConst

    unit_line_at: (y: number) => Curve = CurveFunctions.unit_line_at

    This function is a Curve generator: it takes a number and returns a horizontal curve. The number is a y-coordinate, and the Curve generates only points with the given y-coordinate.

    Type Declaration

      • (y: number): Curve
      • Parameters

        • y: number

          fraction between 0 and 1

        Returns Curve

        horizontal Curve