|
|
|
|
|
|
|
|
|
|
Once
Web page is drawn, nothing
|
|
|
happens
unless you cause an event
|
|
|
• |
To animate a series of stills you must cause
|
|
|
the computer to “wake-up” and change
|
|
|
to the next image 30 times a second
|
|
|
|
• |
Set a timer to cause the wake-up
|
|
|
|
timerID=setTimeout("animate()",30);
|
|