You can do more individual filling at any time during the evolution of the life grid. Then click Next to advance one generation at a time, or Start to watch the Life field evolve automatically. To fill in the life grid you can click Random Fill a few times, and/or click directly on the grid to toggle individual cells on/off. They age, and then turn black after ten generations.Ĭonway's game of life applet - requires java enabled browser Instructions: The colour of a cell reflects its age: newborns are yellow, they grow progressively more orangey as While the simulation is running, it's interesting to click near a stable (black) cluster to see what happens. Try this out in the applet: click on the grid to turn cells on or off, and use the Next button to see what happens to them in the next generation.Ĭlick Random Fill and then Start. Conversely, dead cells that have exactly three living neighbours will be "born" in the next generation. To put it another way, if a living cell has 2 or 3 live neighbours it will "survive" into the next generation, while a greater or lesser number of neighbours will cause it to "die" - presumably of overcrowding or loneliness. Cells with any other number of living neighbours at one instant will turn "off" the next instant.Cells that have exactly 2 living neighbours at one instant will stay as they are in the next instant.Cells that have exactly 3 living neighbours at one instant will be "on" in the next instant.The rules of Life can be very simply summed up as follows: The fate of each cell in the next instant depends on how many of its eight immediate neighbours (including those along the diagonals) are alive in the preceding instant. You can think of this as meaning that the coloured cells are "alive", while the grey ones are "dead". The Life field is a grid of square cells, each of which can be either "on" (coloured in) or "off" (background colour) at any given time. This applet implements the Game of Life - a cellular automaton discovered by the mathematician John Conway. Conway's Game of Life Applet home Conway's Game of Life a cellular automaton Description:
0 Comments
Leave a Reply. |