Skip to main content

cellular_automata_rs/
lib.rs

1//! # cellular-automata-rs
2//!
3//! A research-grade cellular automata library implementing elementary CA (Wolfram rules 0-255),
4//! Conway's Game of Life, Langton's Ant, and cyclic automata.
5//!
6//! # Modules
7//!
8//! - [`elementary`] — Elementary (1D) cellular automata with Wolfram rule numbering
9//! - [`life`] — Conway's Game of Life and 2D cellular automata
10//! - [`langton`] — Langton's Ant and multi-ant variants
11//! - [`cyclic`] — Cyclic cellular automata
12//! - [`rule`] — Rule parsing and bit manipulation utilities
13
14pub mod cyclic;
15pub mod elementary;
16pub mod langton;
17pub mod life;
18pub mod rule;
19
20pub use cyclic::CyclicCA;
21pub use elementary::ElementaryCA;
22pub use langton::LangtonsAnt;
23pub use life::GameOfLife;