Skip to content

Bezier-rs: Add lookup table function for subpath and make it support euclidean parameterization#1082

Merged
Keavon merged 6 commits into
masterfrom
euclidean-lut
Mar 28, 2023
Merged

Bezier-rs: Add lookup table function for subpath and make it support euclidean parameterization#1082
Keavon merged 6 commits into
masterfrom
euclidean-lut

Conversation

@linda-zheng

Copy link
Copy Markdown
Contributor

Added compute_lookup_table to subpath class.
Added tvalue_type: Option<TValueType> to compute_lookup_table in both bezier and subpath classes which allows computation based on euclidean distances rather than parametric.

@Androxium Androxium left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM. Something to keep in mind for the future would be figuring out more efficient ways to compute the euclidean lookup table for a curve as the performance drop on the interactive website when manipulating an example in parametric mode vs. euclidean is quite noticeable.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 20, 2023

Copy link
Copy Markdown

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: ad2b0f6
Status:⚡️  Build in progress...

View logs

@linda-zheng linda-zheng requested a review from Keavon March 20, 2023 03:37
@linda-zheng linda-zheng marked this pull request as ready for review March 20, 2023 20:53
Keavon
Keavon previously approved these changes Mar 21, 2023
@Keavon Keavon dismissed their stale review March 21, 2023 05:39

Accidentally approved

@Keavon Keavon self-requested a review March 21, 2023 05:40
@Keavon

Keavon commented Mar 21, 2023

Copy link
Copy Markdown
Member

Now that #1085 is merged, there are some breakages when you run the site.

@Keavon Keavon changed the title Bezier-rs: Add lookup table for subpath and support euclidean Bezier-rs: Add lookup table function for subpath and make it support euclidean parameterization Mar 28, 2023
@Keavon Keavon merged commit f49e62a into master Mar 28, 2023
@Keavon Keavon deleted the euclidean-lut branch March 28, 2023 01:05
Keavon added a commit that referenced this pull request Jul 30, 2023
…euclidean parameterization (#1082)

* Add euclidean option for lut

* Add lut for subpath

* Fix rust formatting

* Fixed breakages caused by UI updates

* Code cleanup

* Make ProjectionOptions optional

---------

Co-authored-by: Rob Nadal <robnadal44@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
@Keavon

Keavon commented Jun 13, 2026

Copy link
Copy Markdown
Member

Hi @linda-zheng, thanks again for this code contribution to the project! We're still hoping you will respond to the request to relicense this code. Please see #4208 ASAP, thank you!

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

Successfully merging this pull request may close these issues.

4 participants