Gradient Animation Obsession Redux


I guess I didn’t call it an obsession without reason, as I can’t seem to keep away from those hyponotizing gradient animations.  I modified the tool I posted last month so that it would output the XAML, such that a designer could actually use the tool and never touch a line of XAML.  I set up the tool to output either WPF or WPF/E XAML, as WPF/E doesn’t support everything (yet) that the tool uses, such as AccelerationRatio, as well as having a different namespace. 


I ran into some problems with XAMLWriter and the way it strips x:Name from the XAML it produces, so there is some hacky string replace code in there that I’m not proud of.  I could have used property paths as an alternative. 


Because you can’t use XAMLWriter in an XBAP, I made the tool a ClickOnce .application that doesn’t get installed on your machine but just runs in the ClickOnce cache.  Hopefully, we’ll see more and more of these types of apps — mini applications that never get installed but can do more than in-browser applications.  


 Download the source or run the tool.   Also, check out some of the gradient animations I made with the tool and put into a WPF/E page here (screenshot below, although it doesn’t do justice to the hypnotizing effect…)



 

Comments (3)

  1. I expect no promises, but if I choose to install the December 2006 CTP, will uninstalling it (for the highoctane MIX07 version) be as simple as using Add/Remove Programs???

      You must install "WPF/E" (codename) December 2006 CTP

      to view this page: Get "WPF/E!"

  2. karstenj says:

    Well, MS always says run CTPs on non-production machines, but I’m running it on all my production machines and am anticipating no issues.  What else can I say? 🙂

  3. Karsten has updated his gradient animation tool to output WPF/E friendly XAML. More information can be