Nice example of XAML use for Avalon aka WPF

Two pictures of Jim Miller (one of the CLR architects) are stacked on top of each other. The animation changes the value of the opacity of the upper image from 1 (completely opaque) to 0 (completely transparant) and back again. Because the subject of the two images is the same and the two image are lined up, this gives a nice morphing effect.

I wanted to try this myself, so I searched my image archive for two similar looking photographs. I found two, but lining them up was more work than I expected. In PhotoShop I had to adjust for subtle differences in focal length, rotation, aspect ratio etc. Plus one of the photographs is one and a half year older than the other one, so the trees have grown 😉 You can see the result below.

To see the morph between these two pictures, paste this code into XAMLPAD: