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 adding a method to split curve into n equal parts and/or calculating C(l) - coordinates from length along the curve #185

Open
igorshmukler opened this issue Nov 30, 2022 · 1 comment

Comments

@igorshmukler
Copy link

A great library. Found it after building many of the functions you implemented. Wish I looked for this earlier.

Would be great to have a function to split curves into n equal parts and/or to calculate C(l) - coordinates from the length along the curve, rather than t. I understand that doing this requires numeric methods, but you do have LUT already. A part of the task is already complete.

@Pomax
Copy link
Owner

Pomax commented Feb 18, 2023

I'd probably stop just short and instead update the lut function to take a parameter that controls whether the steps are in terms of t or in terms of arc length. That way you can use the lut function to get the t values you need to then split the curve as needed yourself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants