|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Phase 28 — render one PNG per canonical built-in CA rule. More...
#include <cstdint>#include <filesystem>#include <fstream>#include <iostream>#include <random>#include <string>#include <ca-io.H>#include <ca-png.H>#include <ca-engine-utils.H>#include <tpl_ca_engine.H>#include <tpl_ca_lattice.H>#include <tpl_ca_neighborhood.H>#include <tpl_ca_rule.H>#include <tpl_ca_storage.H>Go to the source code of this file.
Functions | |
| int | main (int argc, char *argv[]) |
Phase 28 — render one PNG per canonical built-in CA rule.
Produces the visual gallery under docs/gallery/. Two families are covered, which together span the bulk of the built-in catalogue:
Stochastic / continuous rules (Forest Fire, Gray-Scott, Ising, SIR, Schelling) are demonstrated quantitatively in reproductions/ instead.
Usage: ca_gallery_gen [output-dir] (default: docs/gallery)
Deterministic: same output bytes on every run (fixed seeds), so the committed PNGs are reproducible.
Definition in file ca_gallery_gen.cc.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 149 of file ca_gallery_gen.cc.
References Aleph::and, and Aleph::blossom_maximum_cardinality_matching().