On Thu, 2011-04-14 at 15:05 +0200, Moritz Moeller wrote:
On 04/14/2011 01:56 PM, donn wrote:
Another way to think of it would be: A blurred circle that has wind blowing across it -- you say "blow from 280 degrees at 5% strength" and you get a bigger blur on the north-west side and a smaller one on the 280 degree south east side. For bonus points allow the 'wind' to follow a path!
Imho the best way for many application is what high end compositing apps use. Ann offset curve. The diameter of the blur is the distance between the original and the offset curve. The offset curve can be freely edited, only # of CVs matches original. However, afaik SVG filters always apply to a the whole of a shape, they do not take some curve as a parameter, so I guess the spec currently doesn't even contain the means to add this, unless I miss sth.
Another option which could use mask is an effect which takes the mask a multiplier for one of its parameters. I.e. density*blur radius. This would cover most applications, I guess.
Attached is a screen shot from the high-end compositing app 'Nuke'. Though this is raster-based, the depicted effect is purely steered by Beziers.
.mm
It looks like this effect could be simulated with mesh gradients. I've been working on getting mesh gradients added to the SVG standard.
Tav