W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2016

Re: [csswg-drafts] [css-transitions][css-animations] Complex timing functions

From: VisibleCode via GitHub <sysbot+gh@w3.org>
Date: Fri, 01 Jul 2016 06:30:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-229864970-1467354608-sysbot+gh@w3.org>
The idea I had floated prior to that was something like: 
`animation-timing-function: complex-easing(cubic(0, 0.1, 0.2, 0.4), 
0.5, cubic(0.8, 0.8, 0.9, 1))`

i.e. two one-dimensional cubic bezier segments which meet at x = 0.5, 
but the first ends at y = 0.4, and the second begins at y = 0.8. Still
 doesn't address the issue of directional continuity though.

It does also require you to repeat the y/output value even when you 
want the two segments to join with C0 continuity. For example if the 
first segment ended at y = 0.4, and the second began there:

`animation-timing-function: complex-easing(cubic(0, 0.1, 0.2, 0.4), 
0.5, cubic(0.4, 0.5, 0.9, 1))`

-- 
GitHub Notification of comment by visiblecode
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/229#issuecomment-229864970 
using your GitHub account
Received on Friday, 1 July 2016 06:30:34 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:00 UTC