Message Boards Message Boards

0
|
3110 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Using CellularAutomation with a Grid Input

Is it possible to give the Cellular Animation function an initial condition of an nxm matrix with specified ones and zeros? Or does it only work if the input is a single "row" of data?

2 Replies

A good example of this is the implementation of Conway's "Game of Life":

http://www.wolfram.com/language/gallery/implement-conways-game-of-life/

POSTED BY: Sean Clarke

Of course you can always program your own Cellular Automota function to do whatever you want, but if you're talking about the CellularAutomaton function, there are several examples in the documentation showing it being used for 2D set of initial conditions.

You can find these examples in the documentation for CellularAutomaton under Scope > Multidimensional Rules

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract