Re: [css-values] interpolate() function

On Thu, Nov 28, 2013 at 7:44 PM, Lea Verou <lea@verou.me> wrote:
> I was wondering if we could rename cross-fade() to interpolate() and enable it for any animatable value type. There are many cases where I've needed to do this manually, especially for colours and angles and I presume it wouldn’t be hard to implement, as browsers have to implement the interpolation logic anyway. Furthermore, this could be useful for debugging transitions & animations, as it would enable authors to easily "step into" an animation, whereas right now debugging animations is a huge pain. Also, interpolating values manually is impossible when using variables, so this would help in that as well.

Yeah, I've thought about this before.  I'm in favor of it.

~TJ

Received on Monday, 2 December 2013 22:40:26 UTC