Function draw_3D_connected_full_view

  • 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. The Drawing is translated and stretched/shrunk to show the full curve and maximize its width and height within the cube.

    Parameters

    • numPoints: number

    Returns RenderFunction

    function of type Curve → Drawing

    Example

    draw_3D_connected_full_view(100)(t => make_3D_point(t, t, t));