Re: SVG animations without SMIL

On Thu, Jun 4, 2015 at 11:18 AM Brian Birtles <bbirtles@mozilla.com> wrote:

> On 2015/06/04 3:20, Philip Rogers wrote:
> > For consistency with the other geometry attributes, I don't see many
> > costs to promoting 'd' as a simple string presentation attribute. The
> > proposal would be to have it work just like animating 'd' works today:
> > string -> string where the interpolation is done on the parsed
> > representation.
>
> I'd prefer we don't do this. Apart from the obvious difficulties with
> SVG path syntax, the requirements for interpolating between two paths
> are so restrictive (same number and type of segments) as to make
> hand-authoring path animations almost impossible.
>

FWIW we could pretty trivially relax this requirement when interpolating in
CSS. There's no fundamental reason for forcing matching segments - all
segment types can be arbitrarily split and from memory there are adequate
representations of each pairwise conversion.

Cheers,
    -Shane

Received on Thursday, 4 June 2015 03:04:43 UTC