Maths Needs Colors
How Color Reveals Hidden Patterns in Cellular Automata
Most of us met mathematics in black ink on white paper. Diagrams in thin pencil lines, graphs in fading grey, exercises squeezed between monochrome grids. This was not a deep pedagogical decision; it was a printing constraint that quietly decided how generations would “see” maths. Our screens can now display millions of colors for almost no cost, yet much of our mathematical imagery still behaves as if color ink were rare and expensive.I want to defend a simple idea: mathematics does not just tolerate color; it needs it. Color is not cosmetics on a theorem. It is a cognitive tool for seeing, remembering, and feeling structure, from primary‑school arithmetic to cellular automata and probability.
How Color Transformed Cellular Automata into Living Landscapes
My own turning point came from cellular automata. Cellular automata are simple mathematical systems where cells follow basic rules based on their neighbors. Stephen Wolfram famously catalogued these rules, revealing extraordinary complexity from simple beginnings.
If you have opened a typical textbook or survey on elementary cellular automata, you’ve probably seen the usual suspects: Rule 30’s triangular chaos, Rule 90’s Sierpiński triangle, a few more rules that look like variations on noise. Almost always: black cells on a white background. After a while, everything becomes “a triangle” or “static fuzz”.
In my CellCosmos experiments, I wanted to see what would happen if I treated each rule not as a table of bits but as a small universe with its own atmosphere and landscape. The rules stayed the same; the palette changed. I wrote about some of these experiments in my Medium article — Breathing Life into Cellular Automata with Color.
The effect surprised me.
- Rule 90, in moss greens on black, stopped being just an exercise in Pascal’s triangle modulo 2 and started looking like a forest of trees.
- Rules 54 and 73, in cold blues, turned into snow‑covered mountain ranges, rising and folding as the automaton evolved.
- Rule 62 became a ridge landscape, and Rule 225, in warm sand‑colored tones, looked like aerial photographs of dunes.
Nothing about the underlying mathematics changed. However, color altered what my eyes and brain considered important:
- Patterns that were “just noise” in black‑and‑white became ridges, branches, and layers I could name.
- Each rule acquired a visual identity: “the tree rule”, “the mountain rule”, “the dunes rule”. That made the rules easier to remember and compare.
- My curiosity increased. Exploring new rules and palettes felt like walking through different biomes instead of scrolling through monochrome grids.
Color turned cellular automata from static figures into tiny worlds I wanted to revisit. If a single extra attribute — hue — can change our relationship to such simple systems, what else could it do for other areas of maths?
If you’re curious, you can explore some of these colored automata yourself in my CellCosmos demos, where I play with 1D rules and palettes directly in the browser.
Colors and Probability
Probability adds another dimension to cellular automata that color makes visible. When rules are applied with probability instead of deterministically, rigid triangular mountains soften into organic beaches and branching waterfall networks . Rules 57 and 90 demonstrates this transformation most vividly, one giving the impression of a waterfall and the other giving an impression of volcanic mountains.
Color multiplies the information bandwidth. A single image can communicate what would take dozens of monochrome charts to convey. Color makes the invisible visible.
Color Functions as Mathematical Syntax
Think about how we use parentheses to group operations in algebra. Color works the same way — it’s part of the notation itself, not just prettification.
When you see a cellular automaton rendered in black and white, you’re looking at raw data. Add color gradients based on cell age, neighbor count, or generation depth, and suddenly you’re seeing structure. The mathematics hasn’t changed, but your ability to perceive its patterns has transformed completely.
Key cognitive benefits of color in mathematics:
- Pattern recognition: The human visual system evolved to detect color gradients and boundaries in nature
- Memory encoding: Color creates multiple pathways for recall (spatial + chromatic)
- Semantic layering: Different colors can represent different mathematical properties simultaneously
- Attention direction: Strategic color guides the eye to critical features
Research in STEM and programming education shows that systematic color‑coding across equations, diagrams, and code examples can guide attention, reduce cognitive load, and improve learning when colors match the underlying structure. Summarized in mathematical language: color can be part of the syntax, helping us group related elements, separate easily confused ideas, and make patterns more memorable.
Where Do We Go From Here?
Mathematics education still defaults to black and white. Textbooks, whiteboards, printed problem sets — all monochrome. We’re teaching 21st-century concepts with 19th-century visual tools.
What if we taught mathematics the way our brains actually learn it? With color as a principal aspect, not an optional extra. With visual intuition leading to formal proof, not replacing it.
The tools exist. CellCosmos is just one example of how interactive, colorful mathematical exploration can make abstract concepts tangible. The question is whether we’ll use them.
I invite you to experiment: Take any mathematical concept you find difficult. Now visualize it in color. What patterns emerge? What becomes obvious that was obscure before?
Mathematics needs color. Not because it’s pretty — though it often is. But because color is how we see structure. And mathematics is nothing if not the study of structure itself.
Explore interactive colored cellular automata and fractals at CellCosmos. See how color transforms your mathematical intuition in real time. If you are interested to know more about cellular automata, you can check this series.
Mathematics is our language for patterns, and color is one of its missing vowels. We learned to read maths in grayscale because color ink used to be expensive. It is not anymore. We now have the chance — and perhaps the responsibility — to give those patterns their colors back.
