[pstricks] pst-grad: several gradients (omni spotlights) / gradient into transparent

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Jan 4 23:27:31 CET 2008


Jonny Smith schrieb:

> I'm wondering if one can put on several single omni spotlights as in
> 
> http://tug.org/PSTricks/main.cgi?file=Examples/gradient
> 
> into one gradient pic?
> 
> That is, I'm thninking of photoshop where they have these omni spotlights,
> see
> 
> http://livedocs.adobe.com/en_US/Photoshop/10.0/help.html?content=WSfd1234e1c4b69f30ea53e41001031ab64-7953.html
> 
> and other fancy things.
> 
> I had an idea how to get this done. I thought one could overlap a few shapes
> flowing from transparent into say white
> 
> \psset{linestyle=none,fillstyle=gradient,gradmidpoint=0,gradend=white}
> 
> \psset{gradbegin=transparent} % ??
> 
> but I'm not sure if this is going to work.
> 
> Or is there a way to tell pst-grad to do a bunch of gradients points at
> once?
> 
> \pscircle[GradientPos={(2,1),(3,0.5),(1,2.5)}]{2} % ??
> 
> Any ideas on how to get this done?

try package pst-slpe or look for xcolor and his colorseries
for linear gradients. pst-grad doesn't has such gradient mode.

Herbert



More information about the PSTricks mailing list