View Single Post
  #1 (permalink)  
Old 03-16-2008, 05:18 PM
besi besi is offline
Member
 
Join Date: Mar 2008
Posts: 1
besi is on a distinguished road
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.
Reply With Quote
Sponsored Links