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

Bezier-rs: add Tangents/Normals to Point functions #1547

Merged
merged 4 commits into from
Jan 7, 2024
Merged

Conversation

0HyperCube
Copy link
Member

@0HyperCube 0HyperCube commented Jan 6, 2024

Find the t value such that the tangent/normal at t is equal to the direction from t on the curve to the specified point.

Based on code from lib2geom

https://659a700a.graphite-website.pages.dev/libraries/bezier-rs/#bezier/tangent-to-point

@Keavon Keavon changed the title Bezier-rs: add tangent/normal to point functions Bezier-rs: add Tangents/Normals to Point functions Jan 7, 2024
@Keavon Keavon enabled auto-merge (squash) January 7, 2024 13:56
@Keavon Keavon disabled auto-merge January 7, 2024 13:57
@Keavon Keavon merged commit 8c1c2a1 into master Jan 7, 2024
3 checks passed
@Keavon Keavon deleted the tangent-to-point branch January 7, 2024 14:23
Keavon added a commit that referenced this pull request Jan 7, 2024
* Add tangent/normal to point to bézier-rs

* Add license information and general cleanup

* Bump version

* Add iframe demos

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
Keavon added a commit that referenced this pull request Jan 7, 2024
* Add tangent/normal to point to bézier-rs

* Add license information and general cleanup

* Bump version

* Add iframe demos

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
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.

None yet

2 participants