Book Image

Blend for Visual Studio 2012 by Example: Beginner's Guide

By : Abhishek Shukla
Book Image

Blend for Visual Studio 2012 by Example: Beginner's Guide

By: Abhishek Shukla

Overview of this book

<p>Creating applications with compelling graphics has been one of the main goals of client applications, and with the arrival of WPF, Silverlight, and HTML5 it is much easier than ever before to create interactive and rich user interfaces.</p> <p>Blend for Visual Studio 2012 by Example Beginner's Guide will give you a good grounding in creating Windows, Web, and Windows Phone applications. You will also look at the various layouts and controls available in Blend and how we can create animations and behaviors in Blend.</p> <p>Towards the end, you will be aware of the various capabilities that are available in Blend out of the box.</p>
Table of Contents (19 chapters)
Blend for Visual Studio 2012 by Example Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 6. Understanding Animation and Storyboards

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...