Home
Skip Navigation Links
Chaos Pictures


Bookmark and Share

Silverlight Chaos Pictures

This project was created to experiment with a couple different Silverlight technologies. It generates random images on the client browser. The images created can then be downloaded directly from the Silverlight application without a round trip to the server. The small 32x32 images are represented by an array of rectangles to avoid anti-aliasing blur.

In theory you should have a chance at randomly generating any picture you could possibly take at the given resolutions. Granted your odds are probably the same as hitting a thousand lotteries in a row. All it should take is a little patience.

The images are created using the EditableImage class found on John Stegman's Weblog for Dynamic Image Generation in Silverlight. The ability to save files directly from Silverlight is new to version 3 and accomplished using the SaveFileDialog. The source code for this example can be downloaded here.