Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot: Improve smooth plots by using non-sampled curves #5

Open
johannes-wolf opened this issue Sep 16, 2023 · 1 comment
Open

plot: Improve smooth plots by using non-sampled curves #5

johannes-wolf opened this issue Sep 16, 2023 · 1 comment
Assignees

Comments

@johannes-wolf
Copy link
Member

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 johannes-wolf changed the title plot: Improve smooth plots by using non-sampled curves. plot: Improve smooth plots by using non-sampled curves Sep 18, 2023
@johannes-wolf
Copy link
Member Author

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

@johannes-wolf johannes-wolf self-assigned this Jan 17, 2024
@johannes-wolf johannes-wolf transferred this issue from cetz-package/cetz Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant