READ INSTRUCTIONS HERE!!!!! To play: Click a square to turn it on (green) and click it again to turn it off (black). Press space to start rendering, and s to stop rendering. When it is stopped, you can click squares again. (You may have to press S twice) Press D to view the saved data of your drawing, and press L to load a data set. Loading has automatic rendering. Comment your saved data! Answer 'y' at the beginning to draw a random grid. This also has automatic rendering.
I was inspired to do this project by a book I was reading. In Conway's game of life, the rewrite rules are that if two of it's eight neighbors are "alive" (on, or colored) and it is alive or if three of the neighbors are on, the cell will turn or stay on. Otherwise, the cell will turn/stay off (black). Wikipedia article: http://en.wikipedia.org/wiki/Conway%27s_Game_of_Life \ Updates Below: 7/24/15: Fixed glitch with variable visibility 7/22/15: Added switch for variable visibility. 7/22/15: Added manual increase of wait between generations, fixed cell counter glitches. 7/21/15: Greatly increased speed of rewrite. 7/21/15: Unshared to edit for speed. 6/16/15: Added color changing amount! This slider variable changes how much the color changes between generations. 5/14/15: Added random grid! Press R while clicking green flag. Added cell counter! The variable in the bottom right shows how many cells are alive. 5/13/15: Added save data feature! Press D, then see inside and copy the list item! Added load data feature. Press L, and paste. 5/11/15: Added generation counter variable. The variable in the bottom left shows how many generations have occurred.