Reference
Comprehensive reference documentation for implementing and configuring cellular automata.
- Implementing a Rule — Write your own transition function.
- Configuration Reference — All builder options explained.
- Neighborhoods — Built-in and custom neighborhood strategies.
- Custom State Objects — Model richer per-cell data.
- Complex Cellular Automata — The refinement hook for advanced simulations.
- Parallel Execution — Scale to large grids with parallel threads.
- 3D and 4D Support — Multi-dimensional cellular automata.
- Generation Listeners — React to every generation via callbacks.
- UI Visualisation — Real-time Swing rendering with
CellularAutomataUIRunner.
Implementing a Rule
How to write a transition function using CellularAutomataRule.
Configuration Reference
All options available on CellularAutomataConfigurationBuilder.
Neighborhoods
Built-in and custom neighborhood strategies for 2D, 3D, and 4D grids.
Custom State Objects
Model richer per-cell data by extending CellState with a custom class.
Complex Cellular Automata
Model advanced phenomena with the refinements hook and custom state objects.
Generation Listeners
React to every generation using GenerationListener and GridSnapshot.
Parallel Execution
Scale JCAL to large grids with CellularAutomataParallelRule.
UI Visualisation
Real-time Swing rendering of cellular automata using CellularAutomataUIRunner.
3D and 4D Support
Run cellular automata on 3D and 4D grids with built-in neighborhoods and a flat-array grid.