Flash Bestiary / Oddments / Victorian Tamagotchi 

Victorian TamagotchiThis is a little experiment to create the effect of an endless series of objects flying towards the viewer. The objects are tweened in time. All variables are based on a ratio r that goes from 0 to 1. An easing equation is used on r, after it is computed, to slow it down at the beginning and ends. r = r*r*(32*r); The alpha is faded in and out using half of a sine wave _alpha = Math.sin(r*Math.PI)) * 100; And the scaling is accomplished using a 3dscaling shortcut: zScale = focalLength / (focalLength+z); 



Next: Ostrich Herd at Night 
Copyright © 2003,2004 by Jim Bumgardner. All Rights Reserved. Leave Jim some feedback