Animations create the illusion of a scene by changing a series of different images, and the brain perceives it as a scene.
In the previous chapter, we talked about XAML—how we declare various elements in XAML and how we could assign various properties.
In this chapter, we will cover the following topics:
Animations
Storyboards
There are two popular animation techniques that are generally used. One is frame-based animation and the other is time-based animation.
In frame-based animation, the animation that we create is cut into frames and displayed one frame at a time. In a film, the camera does this by recording many photographs (frames) per second, and, when it is played back, it feels like a moving picture. The computer works in a similar way except that the frames can be further apart in time and the computer will animate and interpolate any changes in between. The problem with such kinds of animations is that they become resource intensive...