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

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 18:18:19 UTC