[filter-effects] Animation between filter functions


I added a section to Filter Effects that describe interpolation behavior between two CSS filter function lists[1].

Currently it has the restriction that no interpolation is possible when:

1) One of the filter function lists consist of at least one SVG filter reference (URL or <child> selector)
2) At least one filter function pair is not of the same type.

To 1): Is it possible to remove this restriction and animate all function pairs if they are of the same type even if we have a SVG Filter reference? What happens with the filter reference? In theory they could follow the animation model of enumerations that the CSS WG agreed on in Lyon. (Every time the transition function crosses 0.5 on output percentage, the value flips to either from- or to-reference depending on the derivation of the transition function.)

To 2): Many filter functions (shothands) can be described by color matrices. Is there a way to interpolate between color matrices? I assume that it does not necessarily produce meaningful results, just like interpolation between matrix items on CSS transforms. Does anyone have experience on that?


[1] https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html#interpolation-of-filters

Received on Wednesday, 14 August 2013 05:46:55 UTC