Instant Silverlight 5 Animation
By Nick Polyak
()
About this ebook
Related to Instant Silverlight 5 Animation
Related ebooks
Getting Started with Meteor.js JavaScript Framework - Second Edition Rating: 0 out of 5 stars0 ratingsBuilding Web Applications with Flask Rating: 0 out of 5 stars0 ratingsSignalR – Real-time Application Development - Second Edition Rating: 0 out of 5 stars0 ratingsSymfony2 Essentials Rating: 0 out of 5 stars0 ratingsOpa Application Development: A rapid and secure web development framework to develop web applications quickly and easily in Opa Rating: 0 out of 5 stars0 ratingsInstant Play Framework Starter: Build your web applications from the ground up with the Play Framework for Java and Scala Rating: 0 out of 5 stars0 ratingsMicrosoft Silverlight 4 Data and Services Cookbook: LITE Rating: 3 out of 5 stars3/5Machine Learning with Go Quick Start Guide: Hands-on techniques for building supervised and unsupervised machine learning workflows Rating: 0 out of 5 stars0 ratingsLearn Qt 5: Build modern, responsive cross-platform desktop applications with Qt, C++, and QML Rating: 0 out of 5 stars0 ratingsMastering JavaScript Design Patterns - Second Edition Rating: 5 out of 5 stars5/5PhoneGap for Enterprise Rating: 0 out of 5 stars0 ratingsFlask Blueprints Rating: 0 out of 5 stars0 ratingsWebSocket Essentials – Building Apps with HTML5 WebSockets Rating: 0 out of 5 stars0 ratingsLearning Splunk Web Framework Rating: 0 out of 5 stars0 ratingsINSTANT JQuery Flot Visual Data Analysis Rating: 0 out of 5 stars0 ratingsCloud Development and Deployment with CloudBees Rating: 0 out of 5 stars0 ratingsMastering Backbone.js Rating: 0 out of 5 stars0 ratingsBuilding UIs with Wijmo Rating: 0 out of 5 stars0 ratingsASP.NET Core 5 and Angular: Full-stack web development with .NET 5 and Angular 11 Rating: 0 out of 5 stars0 ratingsJavaScript Security Rating: 4 out of 5 stars4/5Redmine Plugin Extension and Development Rating: 0 out of 5 stars0 ratingsPython for Google App Engine Rating: 0 out of 5 stars0 ratingsZK Developer's Guide Rating: 0 out of 5 stars0 ratingsFlutter Projects: A practical, project-based guide to building real-world cross-platform mobile applications and games Rating: 0 out of 5 stars0 ratingsInstant PhoneGap Social App Development Rating: 0 out of 5 stars0 ratingsCloudFlare Starter: A practical guide for using CloudFlare to effectively secure and speed up your website Rating: 0 out of 5 stars0 ratingsWebpack 5 Up and Running: A quick and practical introduction to the JavaScript application bundler Rating: 0 out of 5 stars0 ratingsImplementing Azure Solutions: Eliminate the pain point of implementation Rating: 0 out of 5 stars0 ratings
Enterprise Applications For You
QuickBooks 2023 All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsExcel 101: A Beginner's & Intermediate's Guide for Mastering the Quintessence of Microsoft Excel (2010-2019 & 365) in no time! Rating: 0 out of 5 stars0 ratingsQuickBooks Online For Dummies Rating: 0 out of 5 stars0 ratingsExcel : The Ultimate Comprehensive Step-By-Step Guide to the Basics of Excel Programming: 1 Rating: 5 out of 5 stars5/5QuickBooks 2024 All-in-One For Dummies Rating: 0 out of 5 stars0 ratingsBitcoin For Dummies Rating: 4 out of 5 stars4/5Managing Humans: Biting and Humorous Tales of a Software Engineering Manager Rating: 4 out of 5 stars4/5Excel Formulas That Automate Tasks You No Longer Have Time For Rating: 5 out of 5 stars5/5SharePoint For Dummies Rating: 0 out of 5 stars0 ratingsCreating Online Courses with ChatGPT | A Step-by-Step Guide with Prompt Templates Rating: 4 out of 5 stars4/5JIRA 7 Essentials - Fourth Edition Rating: 5 out of 5 stars5/5Access 2019 For Dummies Rating: 0 out of 5 stars0 ratingsLearning Python Rating: 5 out of 5 stars5/5Excel 2019 For Dummies Rating: 3 out of 5 stars3/5Excel Tips and Tricks Rating: 0 out of 5 stars0 ratingsExcel Tables: A Complete Guide for Creating, Using and Automating Lists and Tables Rating: 5 out of 5 stars5/5Notion for Beginners: Notion for Work, Play, and Productivity Rating: 4 out of 5 stars4/5Enterprise AI For Dummies Rating: 3 out of 5 stars3/5Excel 2016 For Dummies Rating: 4 out of 5 stars4/5Code like a Pro in C# Rating: 0 out of 5 stars0 ratingsMastering Excel: Starter Set Rating: 2 out of 5 stars2/5MrExcel LIVe: The 54 Greatest Excel Tips of All Time Rating: 5 out of 5 stars5/5Excel 2019 Bible Rating: 5 out of 5 stars5/5
Reviews for Instant Silverlight 5 Animation
0 ratings0 reviews
Book preview
Instant Silverlight 5 Animation - Nick Polyak
Table of Contents
Instant Silverlight 5 Animation
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What is Silverlight
Why should I use Silverlight
What is the downside of using Silverlight
What this book covers
What you need for this book
Who this book is for
Notes on the samples
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Building Blocks of Animation
Spinning control sample
Defining a dependency property in C# code
Defining visual presentation for spinning control
Bindings
Transforms
Storyboards and animations
Adding a rotation animation to our code
A brief overview of different Silverlight animation classes
Attached properties
Summary
2. Animations in Business Logic Silverlight Applications
Animating Silverlight controls
Tools for animating controls
Animating a built-in button
Creating and animating custom button control
Animating navigation panels
Summary
3. Creating Animated Textures
Background on Perlin noise
A bit of history
Perlin noise algorithm
Multi-scale Perlin noise
Basic Perlin noise
Perlin noise algorithm implementation
ImageProcessingLibrary
Cloud simulation
Fire simulation
Summary
4. 3D Animations in Silverlight
Perspective transform
Silverlight 5 three-dimensional functionality
3D models
Vertex and pixel shaders
Compiling pixel shaders
Enabling your Visual Studio 2010 SP1 or Visual Studio 2012 to create and compile shaders
Adding shader compilation to your Visual Studio 2010 SP1 project
Adding shader compilation to your Visual Studio 2012 project
Creating the moving triangle application
The moving prism application
The 3D related topics that were left out
Summary
5. Building an Animated Banner
What we aim to build
The globe image
Perspective transform
Code description
Referring to the globe image within an XAML file
Creating rotating lines of text
Animation storyboard
Placing the Silverlight banner within an HTML file
Summary
A. Creating and starting a Silverlight project
B. Changing the XAML formatting
C. Installing snippets
D. Using snippets
Index
Instant Silverlight 5 Animation
Instant Silverlight 5 Animation
Copyright © 2013 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: January 2013
Production Reference: 1160113
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84968-714-0
www.packtpub.com
Credits
Author
Nick Polyak
Reviewer
Thomas Martinsen
Acquisition Editor
Rukhsana Khambatta
Commissioning Editor
Meeta Rajani
Technical Editor
Jalasha D'costa
Project Coordinator
Shraddha Bagadia
Esha Thakker
Proofreader
Bernadette Watkins
Indexer
Rekha Nair
Graphics
Sheetal Aute
Production Coordinator
Melwyn D'sa
Cover Work
Melwyn D'sa
Cover Image
Sheetal Aute
About the Author
Nick Polyak is a technology enthusiast who enjoys building software and learning new technologies. For the past six years, Nick worked primarily on Silverlight/WPF projects, and prior to that he worked with C++ and Java. Nick is looking forward to harnessing the new capabilities coming with HTML5 and modern JavaScript libraries.
Nick got his Ph.D. from Rensselaer Polytechnic Institute in 1998. He did his research in Wavelet based image processing and published a number of papers on the subject.
More recently Nick published several articles on codeproject.com some of which (a Prism tutorial and an article on MVVM) became quite popular.
Nick is the owner of the AWebPros.com consulting company.
I would like to thank my wife and children for being patient with me while I worked on this book.
About the Reviewer
Thomas Martinsen is a passionate developer with a focus on Windows development. Thomas is a regular speaker at customer-oriented and developer-oriented events, having worked as a consultant for more than 10 years.
Thomas is a partner in Bluefragments, a company with a focus on the newest Microsoft technologies. Bluefragments is among the best Windows developers in Denmark and has recently built a series of Windows 8 apps for the Windows Store.
For three years now, Thomas been awarded Microsoft MVP.
www.PacktPub.com
Support files, eBooks, discount offers and more
You might want to visit www.PacktPub.com for support files and downloads related to your book.
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
http://PacktLib.PacktPub.com
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books.
Why Subscribe?
Fully searchable across every book published by Packt
Copy and paste, print and bookmark content
On demand and accessible via web browser
Free Access for Packt account holders
If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.
Instant Updates on New Packt Books
Get notified! Find out when new books are published by following @PacktEnterprise on Twitter, or the Packt Enterprise Facebook page.
Preface
What is Silverlight
Silverlight is a relatively new technology introduced by Microsoft in order to enable the developers to build multi-platform client GUI applications that can run within or outside of Internet browsers.
Why should I use Silverlight
Silverlight empowers developers with great new GUI capabilities, combined with revolutionary GUI coding concepts that came to Silverlight from WPF. While some think that HTML 5 gives the developers functionality that is almost as powerful as Silverlight, the programming model of HTML 5 is indisputably old, while the Silverlight/WPF programming model is ahead of that of any competing software.
Unlike the currently available versions of HTML, Silverlight is 98 percent multi-platform (between Windows and Macs) and its list of non multi-platform features is freely available. As long as you avoid using those features, any application you build for Windows is guaranteed to run on Mac.
Silverlight is close to being 100 percent multi-browser (if there are any features that do not perform the same on different browsers, I am not aware of them) and any application you write using Internet Explorer is guaranteed to run within Firefox on the same platform, while this might not be the case with HTML.
Silverlight has a very small footprint – in order to make Silverlight 5 run on your machine you need to