|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Phase 11.5 gallery for CA visualisation backends. More...
#include <algorithm>#include <cstdlib>#include <filesystem>#include <fstream>#include <iostream>#include <limits>#include <string>#include <utility>#include <vector>#include <ca-ascii.H>#include <ca-dot.H>#include <ca-engine-utils.H>#include <ca-ffmpeg-sink.H>#include <ca-gif.H>#include <ca-html-player.H>#include <ca-npy.H>#include <ca-png.H>#include <ca-svg.H>#include <ca-vtk.H>#include <ca-x11-viewer.H>#include <tpl_ca_graph_automaton.H>#include <tpl_ca_lattice.H>#include <tpl_ca_storage.H>Go to the source code of this file.
Functions | |
| int | main (int argc, char **argv) |
Phase 11.5 gallery for CA visualisation backends.
Usage:
ca_visualization_gallery_example [output-dir] [steps]
The example runs the same Game-of-Life glider-gun simulation and writes PNG, GIF, SVG, NPY, VTK, HTML, DOT, ASCII and ffmpeg-command artifacts. The X11 sink is included as an optional no-op by default; pass --live as the third argument to show the simulation while exporting.
Definition in file ca_visualization_gallery_example.cc.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 116 of file ca_visualization_gallery_example.cc.
References Aleph::and, Aleph::CA::Ffmpeg_Options::auto_start, Aleph::blossom_maximum_cardinality_matching(), Aleph::CA::SVG_Render_Options::cell_size, Aleph::CA::X11_Viewer_Options::enabled, engine, Aleph::CA::Ascii_Render_Options::include_border, Aleph::CA::make_gol_engine(), out, Aleph::CA::render_ascii(), Aleph::CA::render_graph_lattice_dot(), Aleph::CA::render_lattice_svg(), steps, Aleph::CA::write_npy(), and Aleph::CA::write_vtk_legacy().