It also gives some simple interface to animate rotation. Simply rotate given image by minecraft image gallery given angle, no animation is applied.
Angle value in degrees of an rotation to be executed immediately. Object containing events to bind on to a rotation object. Example: See bind example above to see usage. An array containing two values — . They define a center of a rotation. A function that will be executed on every animation step. As a first argument a current angle is given.
Easing function used to make animation look more natural. A function to be called when animation finishes. This function simply returns current angle of rotated object. This function simply stops ongoing rotate animation. Example 2 Mouseover icon to see effect. Example 4Click on icon to see effect. Example 5 Click on icon to see effect.