Journal of Fundamental Mathematics and Applications (JFMA)
Vol 9, No 1 (2026)

batara-guru: A Python-Based Rule 30 Cellular Automaton Analyzer with Parallel Processing

Sandy Hardian Susanto Herho (Department of Earth and Planetary Sciences, University of California, Riverside, CA, USA 92521)
Gandhi Napitupulu (Coastal Hazards and Energy System Science (CHESS) Lab, Hiroshima University, Hiroshima, Hiroshima Prefecture, Japan 739-8529)



Article Info

Publish Date
29 Aug 2026

Abstract

We present batara-guru, an open-source Python library for efficient Rule 30 cellular automaton simulation and analysis. Using Numba's just-in-time compilation and parallel processing, the implementation achieves sub-second execution for systems up to 2001 cells on standard laptop hardware, overcoming Python's traditional performance limitations. The library integrates rigorous mathematical formulation from discrete dynamical systems theory with practical tools including NetCDF data persistence and diagnostic metrics for compositional/local entropy and interface density. Performance benchmarks demonstrate simulation times of 0.01-1.27 seconds across spatial scales from 251 to 2001 cells. Analysis reveals scale-invariant properties with entropy converging to 0.73 bits and interface density saturating near 0.51, confirming Rule 30's chaotic behavior while indicating subtle deviations from randomness. By requiring only standard Python libraries and modest computational resources, this framework democratizes cellular automaton research, enabling sophisticated dynamical systems analysis without specialized hardware infrastructure.

Copyrights © 2026






Journal Info

Abbrev

jfma

Publisher

Subject

Decision Sciences, Operations Research & Management

Description

Journal of Fundamental Mathematics and Applications (JFMA) is an Indonesian journal published by the Department of Mathematics, Diponegoro University, Semarang, Indonesia. JFMA has been published regularly in 2 scheduled times (June and November) every year. JFMA is established to highlight the ...