5. Animation

Phillip McKerrow

9/10/01

"People are like grass that dies away; their beauty fades as quickly as the beauty of wildflowers. The grass withers and the flowers fall away. But the Word of the Lord will last forever" 1Peter 1:24-25



Animation concepts

Creating the appearance of motion

Location - where the object is on the window - x, y, theta

Time - an object that changes its location over time is animated

Frame rate - number of times per second the window is updated

Motion Styles

Path animation - object appears to move along a path - sailing boat

Random animation - object follows a different path each time

Scripted animation - scripts cause objects to move against a background - random, wafting, rotating

Parts-in-place animation - object stays still but parts of it move - hands moving on clock

Zooming animation - object size changes

Synchronised animation - movement synchronised with sounds - lips move with speach

Film loop animation - combination of parts-in-place with path animation - bird flapping wings as it flies across screen

Animation Content

Frame based animation - each frame overwrites the previous one

Vector based animation - each frame is drawn with vectors

Image animation - each frame is a bit mapped image - played like a movie

Sprite animation - image of object moves across background

Miscellaneous

Tweening - adding frames between keyframes to obtain smoother motion, zooming or brightness changes

Onion Skinning - makes part of frame transparent so you can see portions of previous or next frame

Do not dispose - sucessive frames layed on top of each other, so you can see through transparent parts

Restore to Background - each frame is discarded before next is displayed

Rollover animation - images changes when mouse rolls over it

Blitted animation - image is created in memory and blitted to screen

Animated GIFS

don't require browser plugins and are small

sequences of slightly varying frames that are displayed successively

can be made in ImageReady - based on layers

1. Prepare the graphics in Photoshop or Illustrator with the parts you want to animate in layers

NOTE: in Illustrator you need to save as a Photoshop 6 doccument

2. Open file in ImageReady

3. Choose show animation

3. Select current animation frame and duplicate it

4. On second animation frame select the layer(s) that you want to animate and make a copy

5. Use the Edit>Transform>... tools to transform the layer to the new position/size

6. Repeat steps 3..5 until you have made all the frames you want

7. As the above results in new layer(s) for every frame and theses occur in all frames, go back through the frames and turn off the layers you don't want in each frame

8. Change the delay to the time you want using the pop up

9. Select how often the animation is to repeat

10. Preview the animation using the play button and analyse its operation - is it smooth, does it produce the effect you want, is it clipped, does it run at the desired speed, is it efficient to down load

11. Use the optimisation pallet to optomise the animated gif for the web - 28KB

12. Save the gif

Use it in your web page

2nd example

Animated gifs, by nature, always loop through the number of frames that make up the animation. Unlike the Flash or QuickTime, the Animated GIF Asset does not have a setting to turn off the looping feature. To pause an animated GIF you need to set the pause property through scripting.

Examples of Animation

lundstrom architecture

Lundstrom

nike women

NikeWomen

legoland

LegoLand

phalphot

Palphot

aerovironment

AeroVironment

microtek

mircotek

requieum for a dream

dream

volkswagon engine

vw


Acknowledgements

Material taken from from:

Bonime, A. and Pohlmann, K.C. 1998. Writing fo new media, John Wiley

Lengel, J.G. 2003. The Web Wizard's Guide to ShockWave, Addison Wesley

Garrand, T. 1997. Writing for Multimedia and the Web, Second Edition, focal Press

Gotz, V. 1998. Color and type for the screen, RotoVision, Switzerland

Giudice, M. and Dennis, A. 2000. Web Design Essentials, Peachpit Press

Leary, M. et al. 1997. Web Designer's Guide to Typography, Hayden Books

Exercises

1. Go to the sites you commonly use and look at their use of text? Is it interactive?

2. Use the above principles and write the text for the web site you are developing?

Return to index page.


Updated on 31 July 2005 by Lei Ye