easyiec.problems.CellularAutomaton#
- class easyiec.problems.CellularAutomaton(width=160, steps=160)[source]#
Bases:
ProblemOne-dimensional, three-state totalistic cellular automata (Wolfram, 1984) as space–time images.
The rule assigns the next state (0, 1, 2) to each neighbourhood sum 0..6 of a radius-1 neighbourhood; seven categorical genes encode the 2187 possible rules, plus the initial density and the three state colours. Rules range from frozen and periodic to chaotic and complex (class 4) behaviour, which people recognize instantly as “interesting”.
Examples using easyiec.problems.CellularAutomaton#
Generative art: CPPNs, harmonographs, superformula and cellular automata
Generative art: CPPNs, harmonographs, superformula and cellular automata