Per-node interpolated line width
Bug #172158 reported by
Three-san
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
The ability to specify the width of a line at each node. The line's width
would be interpolated between the nodes. The range of widths should include
zero.
It may be desirable to have quadratic or cubic (or some other option?)
beyond simple linear interpolation.
This scheme could be applied to colors, as well. In simple cases it may be
preferable to rendering the lines, transferring over to another app, and
colorizing.
If rasterizing such lines would be noticeably slower, the existing curve
rendering algorithm may be used between nodes with identical settings.
Additionally, an option to toggle the viewing of interpolated line widths
could be provided.
Changed in inkscape: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
tags: | removed: objects-nodes |
To post a comment you must log in.
Originator: YES
Node settings (width,color,etc) could default to "unspecified", preserving
present behavior as well as allowing a beginning and an end node to
determine the interpolation of widths across a range of nodes. At least two
approaches to this. The less visually desirable but simpler scheme,
weighting an intermediate node's effective width based on its index (for
want of a better term). E.g. four nodes, {A,B,C,D}, with widths specified
at A,D and unspecified at B,C. B = 2/3*A +1/3*B. The more visually
appealing but (perhaps?) more complicated scheme, weighting based upon
distance traveled along the arc.