Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download

A (one dimensional) cellular automaton is a function1 F : Σ → Σ with the property that there is a K > 0 such that F (x)i depends only on the 2K + 1 coordinates xi−K , xi−K+1, . . . , xi−1, xi, xi+1, . . . , xi+K . A periodic point of σ is any x such that σ^p (x) = x for some p ∈ N, and a periodic point of F is any x such that F^q (x) = x for some q ∈ N. Given a cellular automaton F, a point x ∈ Σ is jointly periodic if there are p, q ∈ N such that σ^p (x) = F^q (x) = x, that is, it is a periodic point under both functions.

This project aims to explore the nature of one-dimensional Cellular Automata, in the hope of finding the structure of cellular automata through its periodic points.

2037 views
License: MIT
ubuntu2004
1
from tomato.classes import cell
2
import tomato as tt
3
from tomato.functions import utils
4
from tomato_rules import game_of_life as rule
5
6
7
def main():
8
cell_size = 4
9
dimensions = 200
10
11
state_matrix = utils.random_matrix(dimensions, 2)
12
13
board = tt.Board(rule, cell_size=cell_size)
14
board.start(state_matrix)
15
16
17
if __name__ == '__main__':
18
main()
19
20