[Sugar-devel] What should be the ideal range for animations FPS ?

Daniel Narvaez dwnarvaez at gmail.com
Tue Jan 7 18:11:18 EST 2014


I'm not an expert of graphics performance or web technologies, but my
understanding is that you don't want to be the one setting the FPS. The
system will know much better when it's time to draw.

And that seems the philosophy behind this API

https://developer.mozilla.org/en/docs/Web/API/window.requestAnimationFrame
https://hacks.mozilla.org/2011/08/animating-with-javascript-from-setinterval-to-requestanimationframe/


On 7 January 2014 17:37, laurent bernabe <laurent.bernabe at gmail.com> wrote:

> Hello everyone,
>
> As I am programming on a recent laptop, it can be easy to call javascript
> method  setTimeout with too high values, without noticing the wrong
> behaviour for real XO.
>
> This is why I am wondering what should be the ideal range for animations
> Frames Per Second value ?
>
> Regards
>
> Laurent Bernabe
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>


-- 
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140108/4a34c9f8/attachment-0001.html>


More information about the Sugar-devel mailing list