-
Notifications
You must be signed in to change notification settings - Fork 12
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
Closed all-smooth shapes not smooth #6
Comments
I think a fix is to average the first and last ths after fixing endpoint tangents in iterdumb:
|
terryspitz
added a commit
to terryspitz/dactyl-font
that referenced
this issue
Jul 26, 2020
Implement LineToCurve and CurveToLine in splines Fix curves including all smooth shapes (reported at raphlinus/spline-research#6)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following closed shape with three smooth point and no tangents doesn't appear smooth at the first point:
{"subpaths":[{"closed":true,"pts":[{"x":223.86,"y":168.2,"c":1},{"x":483.06,"y":64.2,"c":1},{"x":491.86,"y":273,"c":1}]}]}
Whereas setting explicit tangents on one point makes all points properly smooth.
{"subpaths":[{"closed":true,"pts":[{"x":223.86,"y":168.2,"c":1},{"x":483.06,"y":64.2,"c":1},{"x":491.86,"y":273,"c":1,"t":2.393}]}]}
The text was updated successfully, but these errors were encountered: