Mesh gradient - #4081
Draft
YohYamasaki wants to merge 7 commits into
Draft
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a new "Mesh" gradient type, adding UI support in the gradient tool and implementing an initial SVG rendering path that approximates the mesh by subdividing it into an 8x8 grid of polygons. Feedback identifies critical bugs in the rendering logic, including potential panics if the geometry has fewer than four points or segments and an incorrect return statement that prevents subsequent elements from rendering. Additionally, the reviewer noted that the mesh colors are currently hardcoded and that the Vello and SVG stops table implementations are still placeholders.
Keavon
force-pushed
the
master
branch
2 times, most recently
from
May 17, 2026 14:37
4b7a823 to
847b8e9
Compare
timon-schelling
force-pushed
the
master
branch
2 times, most recently
from
May 17, 2026 15:37
15fcaac to
d5f0140
Compare
YohYamasaki
force-pushed
the
mesh-gradient-poc
branch
2 times, most recently
from
July 17, 2026 04:30
5785002 to
231773c
Compare
YohYamasaki
force-pushed
the
mesh-gradient-poc
branch
2 times, most recently
from
July 23, 2026 03:21
6575890 to
f097784
Compare
Open
YohYamasaki
force-pushed
the
mesh-gradient-poc
branch
from
August 9, 2026 07:10
f2939fa to
e5de2e0
Compare
YohYamasaki
force-pushed
the
mesh-gradient-poc
branch
from
August 9, 2026 12:44
e5de2e0 to
ededf6c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a PoC of #3990 at this moment.
Screen.Recording.2026-04-20.at.19.34.40.mov