Cyclic Cellular Automaton

Start Step Clear Randomize update rate: ms Apply

Simulation settings: # of colors: threshold: Wrapping: Apply

Display settings: Cell Size: px Apply

Rules: Each cell has a state. There are n states set with the number of colors above. The state of a cell is between 0 and n-1. A cell with state i is consumed and changes to i+1 if the number of cells with state i+1 in the moore neighborhood are equal or greater to the threshold. If a cell is in the n-1 state while it is consumed, it changes its state to 0.

Settings

Clicking on the simulation turns cells on and off.

Controls:

Start: Begins the simulation, calculating and displaying the next population every update rate seconds

Step: Calculates and displays the next population

Clear: Stops the simulation and clears the population

Randomize: Randomly sets 50% of the cells alive and the other 50% dead

Update Rate: How many milliseconds each frame is displayed. Lower = Faster simulation, but more CPU intensive.

Simulation Settings:

Can be edited while the simulation is running.

of colors: Number of colors

Threshold: How many cells around a cell have to be the successor of the cell for the cells color to change.

Wrapping: Makes the world wrap around, like in snake. With wrapping turned off the outside world acts as dead cells.

Display Settings:

Will restart the simulation.