cetz-plot icon indicating copy to clipboard operation
cetz-plot copied to clipboard

plot: Improve smooth plots by using non-sampled curves

Open johannes-wolf opened this issue 2 years ago • 1 comments

Currently smooth calculates a catmull curve for the data and samples that to draw it using straight lines. Instead, smooth data should be drawn using bezier curves. This requires bezier curve clipping.

johannes-wolf avatar Sep 16 '23 19:09 johannes-wolf

Now that precise line-bezier intersection got implemented, this can be done.

johannes-wolf avatar Nov 12 '23 04:11 johannes-wolf