More fun with Silverlight 2 Beta 2: Empty Storyboards

June 19, 2008 19:51 by Corey


(TO MAKE IT WORK, MOVE YOUR MOUSE OVER THE BOX)

So I was reading Adam Kinney's blog earlier this week (http://adamkinney.com/blog/339/default.aspx) and he posted some cool information on techniques for creating dynamic animation. I was oblivious to the fact that I could get better performance out of  storyboard as a timer to my UI than to use the DispatcherTimer. Thanks, Adam for the heads up. I decided to do something with that information and have some fun expirementing with dynamic animation. I will provide the source so you can check it out for yourself... its not too complicated and its sorta fun to play with. I decided it was more fun in its own window so I will also provide a link to it for full browser viewing.

Source: StreakDemo.zip (452.20 kb)

Full Screen Version: http://www.coreysportfolio.com/StreakDemoTest.html

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

June 19. 2008 23:36

Chad

Corey, this is very cool and the kind of stuff that makes me want to learn Silverlight. Keep posting stuff like this.

Chad

June 20. 2008 09:29

Michael Blumenthal

Corey,
This is neat. Can you provide a walkthrough of your source code?
Michael

Michael Blumenthal

June 20. 2008 11:09

Jon Weber

WOW!!! Time for me to study your source code...

Jon Weber

June 20. 2008 19:20

Corey

Thanks guys.

-Michael: I didnt plan to walk through the source it was an experiment with dynamic animations using Adam Kinney's "Empty Storyboard" concept. I supplied the source so you could see it... but for the most part the hardest part in this application is the math which wouldn't be that interesting to do a walkthrough. As a special note I have two videos I am about to post on how to do dynamic animations in silverlight 2 which is what drives this thing. I should also point out the math came from an old flash book written by Robert Penner.

Corey

Add comment


(Will show your Gravatar icon)  

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

September 8. 2008 03:10