Re: [filters] Custom filter functions proposal

On Feb 24, 2012, at 6:56 PM, Vincent Hardy <vhardy@adobe.com> wrote:

> [vh] For using the filters, I actually prefer naming the parameters as in the CSS shaders proposal than having anonymous arguments, especially for custom filters. So I would prefer to have to write:
> 
> filter: old-wave(phase 90, amplitude 10);
> 
> than:
> 
> filter: old-wave(90, 10);
> 
> I realize this is different than the predefined filters notation but I think code would be more legible this way, easier to maintain and less error prone. 

I think this is a great idea for filters.

Received on Monday, 27 February 2012 16:53:49 UTC