W3C home > Mailing lists > Public > public-fx@w3.org > July to September 2013

Re: [filter-effects] additive animation of filter functions

From: Dean Jackson <dino@apple.com>
Date: Thu, 29 Aug 2013 09:58:53 +1000
Cc: "public-fx@w3.org" <public-fx@w3.org>
Message-id: <A8E30BFE-3BF9-4C28-B234-FB44B8D08285@apple.com>
To: Cameron McCormack <cam@mcc.id.au>

On 23 Aug 2013, at 11:09 am, Cameron McCormack <cam@mcc.id.au> wrote:

> During the SVG telcon this morning, we talked about what it would mean to allow additive animation of filter functions in the 'filter' property, and I said I would send a mail with some more details (this is my ACTION-3520).
> Remember that "additive animations" in SVG are those that layer on top of other animations for the same attribute/property.  So if you had:
> <g>
>  <animate attributeName="filter" dur="10s"
>           values="grayscale(0.5) blur(0px); grayscale(1) blur(4px)"/>
>  <animate attributeName="filter" dur="10s"
>           values="opacity(1); opacity(0.5)" additive="sum"/>
> </g>
> what is the animated value of 'filter' at a given point during the animation?
> I think it makes sense for the "adding" operation to be "concatenate the lists".  So the value at t=5s would be:
>  grayscale(0.75) blur(2px) opacity(0.75)


Received on Wednesday, 28 August 2013 23:59:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:46 UTC