Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase Bezier timing function accuracy #428

Merged

Conversation

ericwilligers
Copy link
Contributor

The polyfill evaluation of cubic Bezier timing functions
gives slightly different results than the native Blink
implementation.

In my testing, this change reduced the absolute error by 63%
while only increasing the number of cubic function evaluations
by 31%

This closes #139

@alancutter
Copy link
Contributor

Test case?

The polyfill evaluation of cubic Bezier timing functions
gives slightly different results than the native Blink
implementation.

In my testing, this change reduced the absolute error by 63%
while only increasing the number of cubic function evaluations
by 31%

This closes web-animations#139
@ericwilligers
Copy link
Contributor Author

Test updated.

@alancutter alancutter merged commit 28c1277 into web-animations:master Apr 21, 2016
@ericwilligers ericwilligers deleted the increase-bezier-accuracy branch May 5, 2016 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bezier timing function values in WAN seem to be different from those in Blink
2 participants