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

Re: Conical gradients

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 24 Jan 2014 08:48:05 -0800
Message-ID: <CAAWBYDDAhFMuAknfEQP4hi1PYfPRjSHjayd+NNorvA7-cOkh6A@mail.gmail.com>
To: Jasper van de Gronde <th.v.d.gronde@hccnet.nl>
Cc: www-svg <www-svg@w3.org>
On Fri, Jan 24, 2014 at 12:48 AM, Jasper van de Gronde
<th.v.d.gronde@hccnet.nl> wrote:
> I once suggested generalizing radial gradients to also allow conical and/or
> "spiral" gradients. Essentially the idea is that radial gradients give you
> the radius part of polar coordinates, while conical gradients are
> essentially based on the angle part. A scheme that combines the two would
> allow for a kind of spiral gradient.

Radial and conical gradients are "inverses" of each other in a sense,
and you don't want to try overloading a single syntax construct to do
both of them.

(Radials position colors on a line, and color ellipses based on where
they touch the line.  Conicals position colors on an ellipse, and
color lines based on where they touch the ellipse.)

Received on Friday, 24 January 2014 16:48:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:50 UTC