You can use JavaScript to create a complex animation which includes but not limited to:
1. Fireworks
2. Fade Effect
3. Roll-in or Roll-out
4. Page-in or Page-out
5. Object movements
2.
Which is the function that calls another function after a time interval?