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

In this case, shouldn't the time be "the time that the animations will be
presented on
the screen".

Yehuda Katz
(ph) 718.877.1325


On Wed, May 9, 2012 at 11:17 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 5/9/12 2:05 PM, Yehuda Katz wrote:
>
>> What are authors expected to do with this timestamp?
>>
>
> Decide what exactly to draw; it tells them what time the animation is to
> be drawn for.  Especially for animations that are not inhertently
> frame-based (e.g. moving an object from point X to point Y).
>
>  What is the use-case?
>>
>
> Synchronizing animations with each other.
>
> -Boris
>

Received on Wednesday, 9 May 2012 21:28:19 UTC