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


Reading A BMP File In JavaScript

Reading in a graphics file that HTML doesn't support is fairly easy using JavaScript's new typed array feature. In this project we read, decode and display a BMP file. 



Monitor Mobile

Monitoring mobile apps should be easy, all you need to do is arrange to send the data back to a server - but what server? There is enough to do without having to implement a complete monitoring system [ ... ]


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.