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

[Feature Request] Setting start- and endpoints for t in the Bezier function #653

Open
Mearleo opened this issue Jul 13, 2024 · 2 comments
Open
Labels
feature 🎁 Feature Request
Milestone

Comments

@Mearleo
Copy link

Mearleo commented Jul 13, 2024

Currently, you can clamp the length with marks but setting the range of t instead of 0 <= t <= 1 to start <= t <= end would be great for a few applications.

This is the normal curve:
image

And this is the range 0 <= t <= 0.8:
image

@fenjalien
Copy link
Member

I think it would be best to continue using ratios for distance relative to the path length (0% <= t <= 80%) and numbers for absolute distance.

@johannes-wolf
Copy link
Member

How does setting t help? The t parameter is not the relative length/distance of the curve, and I am not sure if it is useful to be able to clamp it. Clamping the start/end distance (relative + absolute) could be useful, yes.

@johannes-wolf johannes-wolf added the feature 🎁 Feature Request label Jul 13, 2024
@fenjalien fenjalien added this to the 0.4.0 milestone Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🎁 Feature Request
Projects
None yet
Development

No branches or pull requests

3 participants