【发布时间】:2013-02-10 14:44:43
【问题描述】:
在CSS3 transitions 的规范中写道,加速度的标准贝塞尔曲线定义如下:
The ease function is equivalent to cubic-bezier(0.25, 0.1, 0.25, 1.0) The linear function is equivalent to cubic-bezier(0.0, 0.0, 1.0, 1.0) The ease-in function is equivalent to cubic-bezier(0.42, 0, 1.0, 1.0) The ease-out function is equivalent to cubic-bezier(0, 0, 0.58, 1.0) The ease-in-out function is equivalent to cubic-bezier(0.42, 0, 0.58, 1.0)
如何可视化这些曲线?我想见他们(比如这里:http://hosted.zeh.com.br/tweener/docs/en-us/misc/transitions.html)。
三次贝塞尔函数中有四个点,但只有一个值。但是要绘制曲线 x 和 y 是不是每个人都需要?
【问题讨论】: