Source Academy Modules
    Preparing search index...

    Function draw_3D_points_full_view_proportional

    • Returns a function that turns a given 3D Curve into a Drawing, by sampling the 3D Curve at num sample points. The Drawing consists of isolated points, and does not connect them. The Drawing is translated and scaled proportionally with its size maximized to fit entirely inside the cube.

      Parameters

      • numPoints: number

      Returns RenderFunction

      function of type Curve → Drawing

      draw_3D_points_full_view_proportional(100)(t => make_3D_point(t, t, t));
      
    Index

    Properties

    scaleMode: ScaleMode
    drawMode: DrawMode
    space: CurveSpace
    isFullView: boolean