All Projects → W-A-James → cellular

W-A-James / cellular

Licence: other
A simple command-line tool that generates gif images and animations from elementary cellular automata

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to cellular

cabasa
A generic 2D cellular automaton simulator
Stars: ✭ 21 (-25%)
Mutual labels:  cellular-automata, cellular-automaton
nutshell
[alpha!] [on hiatus] An advanced cellular-automaton-specification language that transpiles to Golly's.
Stars: ✭ 16 (-42.86%)
Mutual labels:  cellular-automata, cellular-automaton
logic-life-search
Cellular automata search program
Stars: ✭ 23 (-17.86%)
Mutual labels:  cellular-automata, cellular-automaton
cellular-automata-explorer
(WIP) An interactive web app for exploring cellular automata.
Stars: ✭ 18 (-35.71%)
Mutual labels:  cellular-automata, cellular-automaton
Generative-Art-Sketches
A Generative Art Gallery with the idea of creating a virtual Art Gallery with my creations. I have tried my hands on creating some visually appealing art using Cellular Automata, Recursive Grammar, Phyllotaxis, Sandpiles, Perlin Noise, IFS, Tiling.
Stars: ✭ 24 (-14.29%)
Mutual labels:  cellular-automata
Growing-Neural-Cellular-Automata-Pytorch
Extended experiments of "Growing Neural Cellular Automata" https://distill.pub/2020/growing-ca/
Stars: ✭ 47 (+67.86%)
Mutual labels:  cellular-automata
terrame
TerraME is a programming environment for spatial dynamical modelling
Stars: ✭ 33 (+17.86%)
Mutual labels:  cellular-automata
PyGameofLife
Conway's Game of Life using python's matplotlib and numpy
Stars: ✭ 40 (+42.86%)
Mutual labels:  cellular-automata
ALPACA
A Language for the Pithy Articulation of Cellular Automata
Stars: ✭ 21 (-25%)
Mutual labels:  cellular-automata
The Powder Toy
Written in C++ and using SDL, The Powder Toy is a desktop version of the classic 'falling sand' physics sandbox, it simulates air pressure and velocity as well as heat.
Stars: ✭ 3,128 (+11071.43%)
Mutual labels:  cellular-automata
conwayste
Multiplayer Conway's Game of Life (desktop app + server) implemented in Rust
Stars: ✭ 22 (-21.43%)
Mutual labels:  cellular-automata
gym-cellular-automata
Cellular Automata Environments for Reinforcement Learning
Stars: ✭ 12 (-57.14%)
Mutual labels:  cellular-automata
Algorithms
Free hands-on course with the implementation (in Python) and description of several computational, mathematical and statistical algorithms.
Stars: ✭ 117 (+317.86%)
Mutual labels:  cellular-automata
netomaton
A Python library for working with Network Automata, Cellular Automata, and other discrete dynamical systems
Stars: ✭ 38 (+35.71%)
Mutual labels:  cellular-automata
Mixed Cell Cellullar Automata
The Mixed-Cell Cellullar Automata (MCCA) provides a new approach to enable more dynamic mixed landuse modeling to move away from the analysis of static patterns. One of the biggest advantages of mixed-cell CA models is the capability of simulating the quantitative and continuous changes of multiple landuse components inside cells.
Stars: ✭ 33 (+17.86%)
Mutual labels:  cellular-automata
cas
Cellular Automata Simulator
Stars: ✭ 22 (-21.43%)
Mutual labels:  cellular-automata
rlifesrc
A Game of Life pattern searcher written in Rust. 用 Rust 搜索生命游戏中的图样。
Stars: ✭ 15 (-46.43%)
Mutual labels:  cellular-automata
evoplex
Evoplex is a fast, robust and extensible platform for developing agent-based models and multi-agent systems on networks. It's available for Windows, Linux and macOS.
Stars: ✭ 98 (+250%)
Mutual labels:  cellular-automata
ws-ldn-10
Generative design workshop (Clojure/ClojureScript)
Stars: ✭ 26 (-7.14%)
Mutual labels:  cellular-automata
ton-lang
A visual programming language, evaluated as a cellular automaton
Stars: ✭ 60 (+114.29%)
Mutual labels:  cellular-automata

cellular

Rust

cellular is a command-line tool that allows for generation of gif images using elementary cellular automata. (Read more about elementary cellular automata here.) It supports starting automata with random seeds as well as providing initial inputs directly through the command line or from a file.

Installation

Via cargo

cargo install cellular

From source

Download the latest release tarball and execute the following:

tar -xvzf cellular-x.y.z.tar.gz .
cd cellular
cargo install --path .

Note that x.y.z is the version number of the tarball that you downloaded.

Usage

Run the following to see all available options and flags

cellular --help

Examples

Starting with a random initial bitmap

cellular --width 800 --height 600 --frames 100 --density 0.6 --rule 106 --output hello_cellular.gif

or

cellular -w 800 -h 600 -f 100 -d 0.6 -r 106 -o hello_cellular.gif

All options and their shortcut syntax are shown when the help flag is passed

→ cellular --help
cellular
A simple command-line based cellular automaton animation creator

USAGE:
    cellular [FLAGS] [OPTIONS] --frames <frames> --height <height> --width <width>

FLAGS:
        --help       Prints help information
    -n, --no-prog    disable progress bar
    -V, --version    Prints version information

OPTIONS:
    -b, --bitmap <bitmap>      Input bitmap as string of 1s and 0s
    -d, --density <density>    Probability that each cell in initialized bit vector will be occupied. Should be between
                               0.0 and 1.0 [default: 0.5]
    -f, --frames <frames>      Number of frames in final animation
    -h, --height <height>      Specifies height of output image
    -i, --infile <infile>      path to file containing initial bitmap as string of 1s and 0s
    -o, --output <output>      Specifies output file. Defaults to output_w<width>_h<height>_f<frames>_r<rule>.gif
    -r, --rule <rule>          8 bit unsigned integer which specifies the cellular automaton to simulate [default: 110]
    -w, --width <width>        Specifies width of output image

Starting with input provided as a command-line argument

echo "10010111000111" > file
cellular --bitmap 10010111000111 -h 600 -f 100 -d 0.6 -r 106 -o hello_cellular.gif

Starting with input provided from a file

echo "10010111000111" > file
cellular --infile file -h 600 -f 100 -d 0.6 -r 106 -o hello_cellular.gif

Example output

cellular -b 1100111101110100110100011011111110101111101110111001010110011010010001010011111011101110000011100100 -h 100 -f 200 -r 106

Rule 106 output

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].