#This script plots a 40 * 40 field generated by ECA Rule 110 with random initial conditions.

import two_state
from matplotlib import pyplot as plt

initial_condition = two_state.random_string(40)
field = two_state.spacetime_field(110,initial_condition,40)
two_state.spacetime_diagram(field)
plt.show()
f5aec9e726edec3e15768afdf163efd2b5d61344
<mask token>

<mask token>
two_state.spacetime_diagram(field)
plt.show()

<mask token>
initial_condition = two_state.random_string(40)
field = two_state.spacetime_field(110, initial_condition, 40)
two_state.spacetime_diagram(field)
plt.show()

import two_state
from matplotlib import pyplot as plt
initial_condition = two_state.random_string(40)
field = two_state.spacetime_field(110, initial_condition, 40)
two_state.spacetime_diagram(field)
plt.show()

#This script plots a 40 * 40 field generated by ECA Rule 110 with random initial conditions.

import two_state
from matplotlib import pyplot as plt

initial_condition = two_state.random_string(40)
field = two_state.spacetime_field(110,initial_condition,40)
two_state.spacetime_diagram(field)
plt.show()