Results 1 to 2 of 2
- 03-16-2008, 04:18 PM #1
Member
- Join Date
- Mar 2008
- Posts
- 1
- Rep Power
- 0
i have a problem whith cellualar automata
Implement a cellular automaton with the following rules
based on the four-neighbors of a cell:
1. A white cell becomes black if the number of its black neighbors is not 1;
2. A black cell stays black if the number of its black neighbors is either 1 or 3:
3. Otherwise, the cell becomes white.
Starting from a single black cell at the center of the board,
Use a Timer object to animate the process,
and allow the user to stop the animation by a mouse click.
- 03-17-2008, 12:59 AM #2


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks