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

gradient suggestion

From: Benjamin Himpel <bhimpel@yahoo.com>
Date: Sat, 25 Jan 2003 12:02:59 -0800 (PST)
Message-ID: <20030125200259.22584.qmail@web41412.mail.yahoo.com>
To: www-svg@w3.org

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"
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.


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
Received on Saturday, 25 January 2003 15:03:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:55 UTC