Life in Silverlight 4
Written by Mike James   
Wednesday, 07 July 2010
Article Index
Life in Silverlight 4
Data binding
User interaction
Computing Life
Trying it out

 

Banner

Trying it out

That’s all there is to the logic of Life and at this point you can enter a pattern and see how it develops.

 

life

       A pattern developing

Of course this being a Silverlight application there is no barrier to trying it out within this web page. As long as you have Silverlight 4 installed you should be able to see the Run button and the empty grid ready for you to draw some patterns:

 

From this point there is a lot that can be added to the basic project. Add a style to the Ellipses so that they look better, display each ellipse in a color that depends on the number of neighbours they have, add a save and load option etc.


To access the code for this project, once you have registered,  click on CodeBin.

 

Banner


QuickSort Exposed

The QuickSort is the most elegant of algorithms and every programmer should study it. It is not only elegant, it is subtle and this often means it is incorrectly implemented and incorrectly explained. [ ... ]



.NET MP3

Running the LAME MP3 encoder under the control of .NET isn't difficult and it provides a really good example of controlling an external .EXE.


Other Projects

 <ASIN:0470534044 >

<ASIN:1430225491 >

<ASIN:1430219505 >

<ASIN:1847199763 >

<ASIN:1430230185 >

Last Updated ( Sunday, 12 September 2010 )
 
 

   
RSS feed of all content
I Programmer - full contents
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.