Skip to main content
Home

Main navigation

  • Home
User account menu
  • Log in

Breadcrumb

  1. Home

Math applications

By Skander, 16 May, 2025

Implementing a 1-D Binary-State Cellular Automaton with TypeScript, Svelte, and PixiJS

In this article, we’ll walk through the implementation of a one-dimensional, binary-state cellular automaton built on top of the parametric CA framework I introduced in a previous post. The single-page app is split into two pieces: the cellular-automaton engine itself, and a graphical user interface (GUI). The GUI includes two PixiJS renderers—one for the rule and one for the grid.
Cellular-automata-1d
By Skander, 30 April, 2025

A Parametric Approach to Cellular Automata Framework Design

Cellular automata are mathematical models built on a finite population of cells. Each cell holds a state selected from a predefined set—finite for discrete automata and potentially continuous for analog variants. In the classic binary case, every cell is either ALIVE or DEAD. At each time step the system advances in lockstep: the new state of every cell is computed by applying a simple local rule that considers the current state of the cell and those of its neighbors. Repeated iterations of this rule generate successive “generations,” allowing intricate global patterns to emerge from straightforward local interactions.
Cellular automata
Math applications

My Apps

  • One-dimensional Cellular Automata Simulator
  • Collatz (Syracuse) Sequence Calculator / Visualizer
  • Erdős–Rényi Random Graph Generator / Analyzer
  • KMeans Animator
  • Language Family Explorer

New Articles

The Hundred-Page Language Models Book - Book Review
A Utility for Converting TSPLIB files to JSON Format
Escape YouTube Filter Bubble - An LLM-based Video Recommender
Implementing a 1-D Binary-State Cellular Automaton with TypeScript, Svelte, and PixiJS
A Parametric Approach to Cellular Automata Framework Design

Skander Kort