Feature Request: Path-Aligned Gradient
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.3k
- Forks
- 300
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 61
Description
### Problem
Current gradient rendering is defined in screen/user space and is not aware of path geometry. As a result, it cannot produce a continuous color transition that follows a polyline or curved path.
### Desired Behavior
We want to support gradients that are bound to the path itself, such that:
* Color transitions follow the direction and length of a stroke or path
* The gradient is continuous across multi-segment polylines and curves
* No visible discontinuities appear at segment joins or sharp turns
* The gradient remains consistent under transforms (scale, rotate, etc.)
### Goal
Enable a single gradient definition to smoothly map along the entire path as if the color is driven by the path’s intrinsic parameterization (e.g. arc-length), rather than by screen-space coordinates.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the current gradient rendering path and how paths, polylines, curves, and transforms are represented. Determine where screen/user-space gradients are evaluated and how an intrinsic path parameterization could span segment joins. Done means a single gradient produces a continuous, transform-consistent transition across complete paths without visible discontinuities.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100