Returns a function that turns a given Curve into a Drawing, by sampling the Curve at num sample points and connecting each pair with a line.
num
determines the number of points, lower than 65535, to be sampled. Including 0 and 1, there are num + 1 evenly spaced sample points
num + 1
function of type Curve → Drawing
draw_connected_2d(100)(t => make_point(t, t)); Copy
draw_connected_2d(100)(t => make_point(t, t));
Returns a function that turns a given Curve into a Drawing, by sampling the Curve at
numsample points and connecting each pair with a line.