OZONE Asylum
Forums
DHTML/Javascript
how does set time out work?
This page's ID:
27991
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
Well, JavaScript isn't really made for graphics manipulation anyways, even less animation. It doesn't have integer types and doesn't have real arrays for pixel manipulations; it doesn't have any APIs specifically geared towards graphics, be that vector or pixel (except for recent additions or non-browser hosts anyways); it doesn't have reliable timers (Win9x your best timer resolution is 55 ms, WinNT it's 10 ms for uniprocessor/unicore/non-hyperthreaded systems and between 10 and 16 ms for multiprocessor/multicore/hyperthreaded systems), it's unreliably scheduled because it depends on the browser host environment, it's low priority and thus gets hit by context switching fairly often, the only timer method that could be considered reliable is the busy wait loop, and if you have more than one timer running all bets are off on the timing - moz is especially bad at scheduling multiple timers but at least you can rely on it firing the timer events in the right order. Most of these problems are getting addressed, but it's still very far from being the best tool for the job. -- var Liorean = { abode: "[sigrotate][url]http://liorean.web-graphics.com/[/url]|[url]http://codingforums.com/[/url]|[url]http://web-graphics.com/[/url][/sigrotate]", profile: "[url]http://codingforums.com/member.php?u=5798[/url]"};
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »