w3c / csswg-drafts

CSS Working Group Editor Drafts
https://drafts.csswg.org/
Other
4.49k stars 660 forks source link

[css-images-4] Gradients need more than piecewise-linear interpolation #4754

Closed svgeesus closed 4 years ago

svgeesus commented 4 years ago

@jrus wrote:

If you really want to make a more capable gradient capability, the most useful addition in terms of raw power/flexibility isn’t changing the color space where interpolation happens, but instead adding some facility for non-linear interpolation on each segment. For instance, allowing arbitrary cubic (or even just quadratic) polynomial segments would give the tool dramatically more flexibility for a given number of specified colors, comparable to the difference between polylines vs. Bézier splines for specifying 2D shapes.

SelenIT commented 4 years ago

Isn't this the same as #1332 (or am I missing something)?

tabatkins commented 4 years ago

Yeah, closing as a dupe of #1332.