|
872a Model Based Design Assignment 2, due 9/26: Submissions are to be posted to the web before class so that we can do an online "pinup" in the second half of class.
Introduction In 1970 British mathematician John Conway started placing checkers in a grid on his office floor. His game soon spread out into the hallway, and eventually, he found it impossible to get into or out of his office without disturbing the structures that were emerging from his simple rules. He called it "The Game of Life." If he weren't already a mathematician, people would have thought he was crazy. In fact what he was doing was discovering a particularly fruitful variety of cellular automata, a field originated in the 1940s by John von Neumann, the principal founder of modern computer science. Cellular automata live on a gridded plane, one to a grid cell. (There are also linear, triangular, hexagonal and 3D cellular automata, but for now, we'll consider a grid of squares.) The automata cannot move--they are confined to their individual cells (hence cellular). Each automaton carries with it information called its state. State can be any data, simple or complicated, but in many cases, including the Game of Life, state only consists of a single boolean value, alive or dead. To begin with cells are assigned state at random. Then an update cycle begins in which each cell in turn is asked to update its state based on a set of internal rules. All automata obey the same set of rules. These rules dictate how the internal state should change based on the environment around the cell, which consists of the states of its neighbors. (Note that the state does not actually change immediately. The next state is stored, and later, after all the cells have applied their rules, they all change to their new states at once. That way each cell is responding to the same existing set of states, not a continuously changing set.) The rules are usually quite simple. In the case of the "Game of Life," they are remarkably simple: 1) If you are alive, stay alive if two or three neighbors are alive.
Otherwise die. And from that comes this, a bubbling pot of odd creatures. It is the simplicity of the rules, and the amazing complexity of the resulting forms that have inspired people over the last thirty years to spend an inordinate amount of time and energy studying the properties of this particular system. People acting as digital naturalists have cataloged thousands of different forms that can emerge and the properties they exhibit. (See Eric Weisstein's Treasure Trove and the Life Lexicon, for instance.) Life is by no means the only cellular automata system of interest to research, however. Stephen Wolfram, the brilliant, reclusive, megalomaniac, millionaire mathematician has devoted the majority of his research to cellular automata, most recently suggesting that they can be used to model all physical laws. (He did some early work with one-dimensional CAs that produce patterns that are easy to find in nature on seashells, for instance.) You might find his new book A New Kind of Science useful as inspiration. It's beautifully illustrated.
The template As you may have guessed or seen linked above, this week's template is a cellular automata template that implements the Game of Life. But you are invited to go well beyond that into other explorations. Here it is.
|
||||||||||||||||||||
|
||||||||||||||||||||