Feed Icon  


  • Bryant Likes
  • Send mail to the author(s) E-mail
  • twitter
  • View Bryant Likes's profile on LinkedIn
  • del.icio.us
Get Microsoft Silverlight
by clicking "Install Microsoft Silverlight" you accept the
Silverlight license agreement

Hosting By

Hot Topics


Open Source Projects



WPF/E Matrix Reloaded

Posted in WPF/E at Monday, February 12, 2007 4:12 PM Pacific Standard Time

Last week Chad posted his Matrix style text animation which I thought was very cool. I wanted to experiment a little with keyboard events and using Glyphs. The result is the Matrix Reloaded:


The example takes keyboard input without any html help and then displays what you type like Chad's example but uses a Matrix digital rain type of animation. It took me awhile to figure out how to make this type of animation work with the limitations of the current CTP. In order to get the effect each letter is a seperate Glyphs object with its own gradient brush with five gradient stops which are all animated. I was pretty impressed with the performance which doesn't seem to slow at all even when you have lots of animations all going at once.

However, I was pretty happy with the results. The source code is a little messy because I had several different pieces which it stiched together in the end to make the completed example. If you know of an easier way, let me know. :)

Update: Adam asked for the source code so here are the links for the XAML and the Javascript. I created the example using notepad so there is no Visual Studio solution for it.

Tuesday, February 13, 2007 4:42:19 AM (Pacific Standard Time, UTC-08:00)
Nice work... this looks really smooth.
Wednesday, February 14, 2007 6:27:08 AM (Pacific Standard Time, UTC-08:00)
Very svelt! Could you hook us up with the code like Chad did? would be great to compare.

Saturday, December 8, 2007 11:19:43 AM (Pacific Standard Time, UTC-08:00)
When neo killed all those regular people in the matrix films, Wan't he killing innocent people that did not know any better because they actually died in thier physical bodies?
El Rey
Tuesday, April 22, 2008 1:27:53 AM (Pacific Daylight Time, UTC-07:00)
Thanks for sharing. Do you have a .Net version of the Javascript?
Tuesday, April 22, 2008 8:44:10 AM (Pacific Daylight Time, UTC-07:00)
I don't have a .NET version of the code. If I have time I'll try converting it.
Tuesday, April 22, 2008 11:44:40 PM (Pacific Daylight Time, UTC-07:00)
Thanks. I am a VB.Net developer and am having a hard time with the translation of syantx. At least if I had a C# version I could use a online converter. I am lost with Java... :( lol
Comments are closed.