Results 1 to 2 of 2
  1. #1
    besi is offline Member
    Join Date
    Mar 2008
    Rep Power

    Default 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.

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Rep Power


    Are you planning to do this with components or with drawing/painting. If drawing then what shape(s) did you have in mind. How close does another have to be to be considered a neighbor. Or is this a grid of some kind?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts