Originally, it took server-side scripts and open network sockets to create web animation. Today, now a day web animation is much easier to create. And web developers have many options for animating images on the web.
Java Script animation offers several key advantages over other forms of animation:
The developer has complete control over when and how images are sequenced animated GIFs files,
The vast majority of browsers support Java Script animation without additional software or plug-ins,
The viewer may control when and how the animation occurs .