gradient suggestion

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 Saturday, 25 January 2003 15:03:30 UTC