Skip to content

[web-animations-1] Additive transform animations easily invoke undesirable matrix interpolation #2204

Open
@alancutter

Description

@alancutter

Using neutral value keyframes or {transform: 'none', composite: 'add'} keyframes in additive transform animations can easily cause undesired matrix interpolation to occur.

Example:
https://www.youtube.com/watch?v=6Jigrf5xKTg
http://jsbin.com/gazakifuma/1/edit?js,output

One way of avoiding this is to change The effect value of a keyframe effect steps 12 and 18 to perform the keyframe interpolation before applying their composite operation.

This would change interpolate(add(rotate(45deg), none), add(rotate(45deg), rotate(180deg))) (which uses matrix interpolation due to the rotate -> rotate rotate shape mismatch) into add(rotate(45deg), interpolate(none, rotate(45deg))).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions