This tutorial provides a basic understanding of how to create animation using JavaScript.
JavaScript can be used to move a number of DOM elements (img,divor any other HTML element) around the page according to some sort of pattern determined by a logical equation or function.
Here are some example of JavaScript animation: