Tuesday, February 12, 2008

[2008.02.12] WPF Reflection Effect

I was just playing around with WPF and Expression Blend and decided to throw together a quick demo of what you can accomplish in WPF with very little or no C# at all! This is a reflection effect of an anime music video. Of course, since it's just a quick demo, I hard coded the name video file. However, the source code is short and easy to understand, and you can change it to suit your needs. The main concepts illustrated here are Transformations, Visual Brushes and Gradients. Here are some images of what it will look like.

[2008.02.12].01.wpfReflection
Fig.1 WPF reflection 1

[2008.02.12].02.wpfReflection
Fig.2 WPF reflection 2

See/get the code

No comments: