Source Academy Modules
    Preparing search index...

    Function draw_connected_3d

    • Returns a function that turns a given 3D Curve into a Drawing, by sampling the 3D Curve at num sample points and connecting each pair with a line.

      Parameters

      • numPoints: number

      Returns CurvePlotFunction

      function of type 3D Curve → Drawing

      draw_connected_3d(100)(t => make_point(t, t));