Re: Semantics of the time argument on rAF's FrameRequestCallback

On 5/9/12 2:20 PM, Yehuda Katz wrote:
> In this case, shouldn't the time be "the time that the animations will
> be presented on
> the screen".

That would be ideal, yes.  Hard to do, of course, since the request 
callback has to run before the animation is presented on the screen and 
the browser has no way to know how long it'll take to run....

In practice, for synchronizing animations with each other it's more 
important that the same time be used for all animations than what 
exactly that time means.  For making a particular animation look smooth, 
of course, the meaning of the time might matter.


Received on Wednesday, 9 May 2012 18:37:11 UTC