-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Improve curve offsetting #41
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ill-conditioned quad or cubic curves can have 1 to 5 curvature maxima... so the current basic approach in Stroker is really approximative for thick curves > 5px ...
In branch better-curves, new adaptative algorithms achieve high quality, but its performance can be improved for general use.
See https://github.com/bourgesl/marlin-renderer/tree/better-curves
EA releases:
https://github.com/bourgesl/marlin-renderer/releases/tag/v1_0_0_EA_3
This is the Marlin-renderer 1.0.0 Early Access release 2 release providing better curve rendering i.e. stroke width along the quad / cubic curves is more accurate.
See screenshots of improvements:
https://raw.githubusercontent.com/bourgesl/bourgesl.github.io/master/marlin-better-curves/computeOffsetCubic_fixed.png
https://raw.githubusercontent.com/bourgesl/bourgesl.github.io/master/marlin-better-curves/computeOffsetCubic_bug.png
more screenshots: at https://github.com/bourgesl/bourgesl.github.io/tree/master/marlin-better-curves
The text was updated successfully, but these errors were encountered: