Feed Icon  

Contact

  • 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

Tags

Open Source Projects

Archives

Ads

WPF/E Matrix Reloaded

Posted in WPF/E at Monday, 12 February 2007 16:12 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, 13 February 2007 04:42:19 (Pacific Standard Time, UTC-08:00)
Nice work... this looks really smooth.
Wednesday, 14 February 2007 06:27:08 (Pacific Standard Time, UTC-08:00)
Very svelt! Could you hook us up with the code like Chad did? would be great to compare.

Adam
Saturday, 08 December 2007 11:19:43 (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, 22 April 2008 01:27:53 (Pacific Daylight Time, UTC-07:00)
Thanks for sharing. Do you have a .Net version of the Javascript?
Chris
Tuesday, 22 April 2008 08:44:10 (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, 22 April 2008 23:44:40 (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
Chris
Comments are closed.