Source Academy Modules
    Preparing search index...

    Variable b_ofConst

    b_of: (pt: Point) => number = CurveFunctions.b_of

    Retrieves the blue component of a given Point.

    Type Declaration

      • (pt: Point): number
      • Parameters

        • pt: Point

          given point

        Returns number

        Blue component of the Point as a value between [0,255]

    const point = make_color_point(1, 2, 3, 50, 100, 150);
    b_of(point); // Returns 150