W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2013

Re: [RequestAnimationFrame] ally: background animation rate: do not throttle

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 11 Feb 2013 10:43:20 -0500
Message-ID: <51191198.9090400@mit.edu>
To: public-web-perf@w3.org
On 2/11/13 7:38 AM, Jonathan Chetwynd wrote:
> These might for instance include motion detection, when using a remote
> webcam, such as perhaps a baby monitor**.

This seems like a use case better served by setInterval.

The whole point of requestAnimationFrame is that it should be used for 
things that you want to run as the browser displays stuff.  For things 
that just need to run on a fixed timer, setInterval is a better fit.

Received on Monday, 11 February 2013 15:43:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:34 UTC