-
Notifications
You must be signed in to change notification settings - Fork 9
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
Improvements to the Curve Javadoc #5
Comments
I now realise, looking more closely at the code, that the X of I think I probably could fix that and make it a true Bezier curve (all be it one that requires that the X of each point is equal to or larger that the previous point to avoid any "the line goes backwards in time" nonsense). That change though would mean the curves would change a little for existing users |
…t; that the X of the control points currently do nothing, but should
…J was fine with it)
I'm trying to add some javadoc comments to the Curve class (largely because I didn't understand how to use it so have started experimenting with it). Having had a play and a read up on Bézier curves I think this is correct
Slightly difficultly I think (according to my reading of Bézier_curves) the addControlPoint method actually adds 2 control points and an anchor, but I can see why the method is like that and I'm not sure I have any better suggestions.
Assuming that's correct I plan to put in a PR to improve the javadoc here as well as put a bit in SizeInfluencer as to how it can be used with a curve to produce a size change over time
The text was updated successfully, but these errors were encountered: