#+title: 2D cellular automaton #+date: 2024H2 * Task :PROPERTIES: :CUSTOM_ID: task :END: Implement a two‑dimensional cellular automaton with a von Neumann neighborhood and it's visualization. The automaton’s functionality should include: 1. The ability to generate a random state. 2. The ability to manually configure the state. 3. The ability to set the field size. 4. The ability to determine the number of iterations. The automaton function: *7931880* (=0x007907E8=) * Documentation :PROPERTIES: :CUSTOM_ID: documentation :END: The exported report can be found at [[https://git.michalec.dev/files/uni/term-05/automata-theory/lab-01/report.pdf][this link]]. * Showcase :PROPERTIES: :CUSTOM_ID: showcase :END: #+caption: Help #+attr_html: :width 75% [[https://git.michalec.dev/uni/term-05/automata-theory/lab-01/help.png][https://git.michalec.dev/uni/term-05/automata-theory/lab-01/help.png]] #+caption: Making cells live in while the automaton runs #+attr_html: :width 75% [[https://git.michalec.dev/uni/term-05/automata-theory/lab-01/sierpinsky.png][https://git.michalec.dev/uni/term-05/automata-theory/lab-01/sierpinsky.png]] #+caption: Sample initial state #+attr_html: :width 75% [[https://git.michalec.dev/uni/term-05/automata-theory/lab-01/gnu0.png][https://git.michalec.dev/uni/term-05/automata-theory/lab-01/gnu0.png]] #+caption: Sample state after 30 iterations #+attr_html: :width 75% [[https://git.michalec.dev/uni/term-05/automata-theory/lab-01/gnu30.png][https://git.michalec.dev/uni/term-05/automata-theory/lab-01/gnu30.png]] * Unlicense :PROPERTIES: :CUSTOM_ID: unlicense :END: #+include: UNLICENSE verse