August 2006 Blog Posts

Debugging Animations with SpeedRatio

Originally published on my old Charteris blog Whilst trying to debug some fairly complex 3D animations recently I happened upon the SpeedRatio property. It is a property of the Timeline class and therefore all the classes that inherit from it such as Storyboard . Basically this property allows you to put your animations into slow motion; the value must be from 0 to 1.0 with 0.5 being half speed. Now you could achieve a similar thing with the Duration property and doubling the duration but what you will often find with more involved animations is those children Storyboards and Animations will...

Custom Animation Classes

Originally published on my old Charteris blog A few months back I was looking at getting HD installed and the satellite TV company's website had this nice animation were they made the text appear bit by bit like it was being decoded before your eyes. The animation is about 4 levels deep in a Flash movie so I cannot link to it directly but it reminds me of the way the number 24 is animated in the series "24". I thought I would take a look at how wold do it in WPF. I found there was not much for string...