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

Consider rational bezier curves instead of bezier curves #156

Open
carewolf opened this issue Nov 9, 2017 · 0 comments
Open

Consider rational bezier curves instead of bezier curves #156

carewolf opened this issue Nov 9, 2017 · 0 comments

Comments

@carewolf
Copy link

carewolf commented Nov 9, 2017

Rational bezier curves are curves where the control point(s) has an extra weight.
There are two stong benefit of rational bezier curves over basic bezier curves:
a) They can represent conic arcs and thus circles accurately. This makes arc a special case of bezier curves, and possible to represent it internally as a single bezier curve.
b) They are stable under projection transformation. You do not currently have 3D transforms in the library, but if you had, then bezier curves would be broken by them, and need to split or rasterized after a projection transform, but rational bezier curves can be transformed under any 3D transform and still be a rational bezier curve.

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