|
Intermediate - Animating using the swirl effect |
|
|
Untitled Document
|
|
Creating an animation using the swirl effect:
It is very simple to create impressive animations from a lone image that
will enhance the look and feel of your web page or project.
The main principle to creating a smooth and seamless swirl animation is
to increment the swirl effects for each frame of your animation.
|
|
|
|
|
|
| A great idea is to use the animation
that you have just made to make an animated button this is done with what's
called a rollover image or mouse over image, so when you hold the mouse
over the image it will animate. Try holding your mouse pointer over the
image to the right. |
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
The Image above was created with two images the first one
was a jpg image and the second was a gif animated image. When the mouse
is not over the image it displays the first image but if the mouse moves
over the image it will swap it for the second image which is the animated
gif.
|
|
|
|
1st Image |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
|
|
|
|
2nd Image |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The second image in this case was made to only loop once and has a delay
of 10 mSec
Many HTML publishing software make it easy to create a rollover image
but if you want to code it manually here
is a link to a tutorial it also has code that you can use in your HTML
page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|