Read the ReadMe.txt file included to see what's configurable. The source can be downloaded here.Įvery thing from mutation rate to cell generation at startup is configurable. The demo is written in C and uses the SDL Library for drawing the points and is in 640x480 resolution. In my quick little simulation I also introduced a "wrap around" feature so that structures can move infinitely in any direction. In fact with the right mutation rate the simulation will continue endlessly. This significantly increased the life of the simulation. So I decided to add a mutation factor to the simulation such that upon mutation, A living cell dies and a dead cell comes to life. Any dead cell with exactly three live neighbors becomes a live cell.īelow are some of the patterns that I found and thought were interesting:Īfter watching many trails I noticed one thing immediately The simulation always eventually "dies down", or reaches some equilibrium state and it is usually comprised of a bunch of simple structures. Any live cell with two or three live neighbors lives on to the next generation. Any live cell with more than three live neighbors dies, as if by overcrowding. Any live cell with fewer than two live neighbors dies, as if caused by underpopulation. This simulation implements a few just a few simple rules, yet relatively complex structures emerge.ġ. But I will never forget one of my all time favorite classics, John Conway's Game of Life. I've always been interested in AI, evolution simulations, and other interesting problems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |