OZONE Asylum
Forums
DHTML/Javascript
JS animation performance: reflow/redraw cost, CPU use?
This page's ID:
30631
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[b]P01[/b]: Fancy stats! Thanks for digging in, I'll take some time later to check this out. I'm interested in general animation performance in particular, of course, though the snow script is a decent real-world example which could be optimized further. [b]kwei[/b]: For Win9X, I found back in the day that having two setInterval() calls running at slightly different intervals will produce a much smoother animation framerate than one. Windows 2000 and WinXP+ don't seem to benefit from this. It shouldn't be in quotes either as you noted, that code was written back in 2002/03. ;) [small](Edited by [url=http://www.ozoneasylum.com/user/2276]Scott[/url] on 11-03-2008 19:56)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »