RE: Conical gradients

 

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