W3C home > Mailing lists > Public > www-svg@w3.org > January 2003

Re: gradient suggestion

From: Dean Jackson <dean@w3.org>
Date: Tue, 28 Jan 2003 00:09:15 +1100
To: Benjamin Himpel <bhimpel@yahoo.com>
Cc: www-svg@w3.org
Message-ID: <20030127130915.GD7200@grorg.org>


Benjamin,

We're looking at extending the gradient options, but
we have not decided if it is SVG 1.2 or 2.0 territory.

Suggestions so far have included Coons-patch gradient
meshes and gradients that follow the shape of the filled
path (can't remember the name for this).

I think a gradient mesh would achieve what you are
requesting. Therefore, we'll add your vote to the big
blackboard that we keep in SVG Headquarters!

BTW, see http://www.w3.org/TR/SVG2Reqs for a list
of things under consideration. Slightly out of date now.

Dean

On Sat, 25 Jan 2003, Benjamin Himpel wrote:

> 
> I have a suggestion concerning gradients.
> 
> It would be nice to have some sort of a 2-dimensional
> gradient, in addition to the 1-dimensional gradients
> (linear/radial). (1-dimensional because the colors
> only depend on 1 parameter.)
> 
> E.g. one could define 3 points to have a certain
> color. Then the gradient interpolates these colors
> linearly (within the triangle given by the 3 points)
> in the sRGB color space. (Outside of the triangle it
> could e.g. be white by default.)
> 
> The notation could look like this:
> 
> <2DGradient id="MyGradient"
> gradientUnits="userSpaceOnUse"
> x1="0" y1="0" color1="red"
> x2="300" y2="300" color2="blue"
> x3="600" y3="0" color3="yellow"/>
> 
> One probably has to have a different notation in order
> for it to be compatible with all other tools, but the
> idea is clear.
> 
> Benjamin
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
Received on Monday, 27 January 2003 08:09:20 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:24 GMT