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

One of the things that bothers me about `spring()` specifically is 
that it requires finding an approximate solution to a differential 
equation, just like `cubic-bezier()` requires approximate solving of 
cube roots. Browsers' approximations will vary, and there are 
performance/quality tradeoffs.

Using (1d) cubic splines for defining easing functions is far simpler 
than something like `spring()` computationally, and is easy to pull 
off with good precision. It's also not super hard for tools to "bake" 
a physically-based animation (including ones much more complex than 
spring simulations) into a spline, for better reproduceability and 
performance.

-- 
GitHub Notification of comment by visiblecode
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/229#issuecomment-228260667 
using your GitHub account

Received on Friday, 24 June 2016 05:23:10 UTC