Skip to content

Bezier curve gradient - #75

Open
externalhost0 wants to merge 1 commit into
Fattorino:masterfrom
externalhost0:bezier-gradient
Open

Bezier curve gradient#75
externalhost0 wants to merge 1 commit into
Fattorino:masterfrom
externalhost0:bezier-gradient

Conversation

@externalhost0

Copy link
Copy Markdown

This is a small snippet that replaces the normal beizer_curve function used to fill a connection with one that interpolates two colors across its start and end. It's also adjustable via a new prop in getStyle().

@externalhost0

Copy link
Copy Markdown
Author

I realized I should probably show what it looks like as well, and obviously, when the start and end are the same color, the gradient doesn't occur.
Screenshot 2026-05-28 at 4 03 38 PM

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.

1 participant