kevinSharp | 16 November, 2010 19:22
It's the difference between walking and dancing. Simple transitions visually walk a user from one state to another. With a technique called "easing curves" your transitions dance. An example in the Qt Creator IDE shows you how.
First, try to have the animation tell the user something. For example, a wipe transition from one Powerpoint slide to another may be visually interesting, but all you learn from the transition is that you're now looking at a new slide. On the other hand, minimize a window on a Mac and the animated transition guides your eye from where the window was to where the minimized icon is placed.
Next consider the physics of the animation. In a simple animated shift, an image moves at a constant rate of speed between initial and final positions. If the window were a physical object, the movement would require infinite acceleration to move from stationary to the transit speed, then the object would suddenly stop as if it ran into a solid brick wall. The human brain finds such a movement jarring. Objects in the real world have acceleration curves. Different physical systems exhibit different characteristic curves. Easing curves are the way to define and manipulate the way your objects move.
In your Qt Creator you will find a full example of Easing Curves. From the Welcome screen click Choose an Example/Animation Framework/Easing Curves. You'll see full source code to apply a variety of easing curves to your animations. Here's your chance to make them dance.
Comments