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

RE: Conical gradients

From: David Dailey <ddailey@zoominternet.net>
Date: Thu, 23 Jan 2014 13:01:51 -0500
To: "'Paul LeBeau'" <paul.lebeau@gmail.com>, "'Alexandre Prokoudine'" <alexandre.prokoudine@gmail.com>
Cc: "'www-svg'" <www-svg@w3.org>
Message-ID: <004301cf1865$319d9c50$94d8d4f0$@net>
 

Paul LeBeau writes:

 

That's interesting.  But not exactly simple to create though.

 

    http://tavmjong.free.fr/SVG/MESH/mesh_conical.svg

 

Should there perhaps be a <conicalGradient> element for this conmon use
case?

 

Paul

 

Of course one can also draw a linear gradient and then apply a perspective
transform to that to get a conical one. If one were implementing such a
thing though, it would be nice to have a parameter which controls the
curvature of the side of the cone, such as one can do with <replicate>[1],

 

Cheers

David

[1] http://srufaculty.sru.edu/david.dailey/svg/SVGOpen2010/replicate.htm
Received on Thursday, 23 January 2014 18:02:28 UTC

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