• Returns a function that turns a given Curve into a Drawing, by sampling the Curve at num sample points. The Drawing consists of isolated points, and does not connect them. The Drawing is translated and stretched/shrunk to show the full curve and maximize its width and height, with some padding.

    Parameters

    • numPoints: number

    Returns RenderFunction

    function of type Curve → Drawing

    Example

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