sac/life/mod.rs
1//! Conway's Game of Life implementation for TUI background animation.
2//!
3//! This module provides a cellular automaton simulation using Braille patterns
4//! for rendering. It includes various seed patterns (gliders, spaceships, etc.)
5//! and automatic pattern injection when activity becomes low.
6
7use rand::rngs::StdRng;
8use rand::RngExt;
9use rand::SeedableRng;
10use ratatui::text::{Line, Span};
11
12mod field;
13mod math;
14mod patterns;
15mod render;
16
17pub use field::{LifeConfig, LifeField, ZoneStats};
18pub use math::*;
19pub use patterns::*;