Re: [csswg-drafts] [css-easing] extend cubic-bezier() to take additional pairs (#3838)

Elaborating a little bit, more advanced real animation software (such as After Effects) seems to do a lot of its "advanced" animation curves by just chaining cubic beziers together.

You can do this manually today, but you have to do some funky manual calculating to explicitly set up the intermediate keyframes with the correct values.

So, the grammar would change from `cubic-bezier(<number>#{4})` to `cubic-bezier(<number>#{4} , [<number>#{6}]# )`; in each successive triple of points, the first point is the endpoint of the previous bezier / starting point of the next bezier, then the two control points of the next bezier. The first control point of the first bezier is still always (0,0), and the last of the last is still always (1,1).

GitHub Notification of comment by tabatkins
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 17 April 2019 23:10:35 UTC