This version of the ubiquitous automaton -in straight Javascript- started as a demonstration about accessing the HTML Document Object Model (DOM).
The idea popped out after reading an article about John von Neumann, and his model for a self-replicating machine. This problem was in turn the inspiration for John Conway to devise The Game of Life.
A very good description of the game and its rules can be found in this link to Wikipedia
Internet Explorer takes ten times longer than Firefox to read and write colour information into the DOM. It seems that IE does not perform well when accessing the Document Object Model.
That is the reason of the Time label at the bottom of the grid. Tip of the hat to Dushan, for suggesting a solution to this perplexing issue.
![]()
Click on the Google button above and the XML version of this page will be automatically loaded onto your iGoogle page. Easy.
All you need is to add the following code to your site