UP indigenous science systems · 15 min read · 2,812 words

African Fractal Mathematics: Recursive Geometry, Binary Divination, and the Architecture of Infinity

In 1988, the mathematician and cyberneticist Ron Eglash arrived in West Africa with a question that would overturn two centuries of assumptions about the history of mathematics. Eglash, who held degrees in cybernetics from the University of California and would later become a professor at the...

By William Le, PA-C

African Fractal Mathematics: Recursive Geometry, Binary Divination, and the Architecture of Infinity

Language: en


The Mathematics That Was Always There

In 1988, the mathematician and cyberneticist Ron Eglash arrived in West Africa with a question that would overturn two centuries of assumptions about the history of mathematics. Eglash, who held degrees in cybernetics from the University of California and would later become a professor at the University of Michigan, had noticed something peculiar in aerial photographs of African villages: they appeared to be fractal.

Fractal geometry — the mathematics of self-similar patterns that repeat at every scale — had been formalized by Benoit Mandelbrot in 1975 with the publication of “Les Objets Fractals” and popularized in his 1982 masterwork “The Fractal Geometry of Nature.” Mandelbrot demonstrated that the irregular, fragmented shapes found throughout nature — coastlines, mountain ranges, clouds, river networks, blood vessels, broccoli florets — share a common mathematical property: self-similarity across scales. A small piece of a fractal looks like the whole. Zoom in, and the same pattern repeats. Zoom in again, and it repeats again. This recursive geometry, Mandelbrot showed, was not a mathematical curiosity but the fundamental geometry of the natural world.

What Eglash discovered was that African cultures had been deliberately constructing fractal geometry into their settlements, their textiles, their art, their cosmology, and their mathematics for centuries — possibly millennia — before Mandelbrot gave it a name.

His decade of research, documented in the groundbreaking book “African Fractals: Modern Computing and Indigenous Design” (1999), demonstrated that fractal mathematics was not a European invention imposed on nature from outside but an African discovery drawn from nature and woven into culture from within. This was not a case of “they had interesting patterns.” This was a case of intentional, sophisticated, recursive mathematical design — executed without formal mathematical notation but with a precision and depth that astonished the mathematicians who analyzed it.

Ba-ila Settlements: Recursive Architecture

The most dramatic example of African fractal geometry is the settlement pattern of the Ba-ila people of southern Zambia. When Eglash obtained aerial photographs and architectural plans of Ba-ila villages, the fractal structure was unmistakable.

A Ba-ila settlement is organized as a large ring of houses. At the back of the ring sits the chief’s enclosure — which is itself a smaller ring of houses. Within the chief’s enclosure, the chief’s personal dwelling is another smaller ring. And within that dwelling, the sacred altar is arranged in the same ring pattern at an even smaller scale.

This is mathematical recursion — a pattern that includes a smaller version of itself, which includes a still smaller version, which includes a still smaller version. The settlement is a fractal: each level of the hierarchy reproduces the geometric pattern of the level above it, scaled down.

But the fractal structure goes deeper than geometry. The social organization mirrors the spatial organization: the village is governed by a hierarchy of authority that maps onto the nested rings. The outermost ring represents the community. The chief’s enclosure represents governance. The chief’s dwelling represents executive authority. The altar represents spiritual authority. Each level contains and recapitulates the structure of the whole.

Eglash’s analysis showed that the Ba-ila settlement is not merely a rough approximation of a fractal pattern. It exhibits genuine recursive scaling with consistent ratios across at least four levels of iteration. This is the same mathematical structure as the Sierpinski triangle or the Koch snowflake — classic fractal objects studied in modern mathematics.

The Ba-ila did not have fractal geometry textbooks. They had something better: a lived understanding of recursive self-similarity, encoded in architecture, social structure, and cosmological belief, maintained across generations through practice rather than notation.

Bamana Sand Divination: The Binary Random Number Generator

In the villages of Mali, the Bamana people practice a form of sand divination that is, from a mathematical standpoint, one of the most remarkable cultural technologies in human history. The process works as follows:

The diviner draws four rows of random marks in sand, making the marks quickly without counting. Each row is then counted. If the number of marks in a row is even, the row is recorded as two marks (— —). If odd, it is recorded as one mark (—). This produces a four-bit binary number — four rows, each either 0 (even) or 1 (odd).

The process is repeated four times, producing four four-bit binary numbers. These numbers are then combined through a process called “addition” that is mathematically identical to the XOR (exclusive or) operation in modern computing — one of the fundamental logical operations in digital circuit design.

The result is a set of derived figures that the diviner interprets. But the mathematical mechanism underlying the divination — random number generation followed by XOR operations — is the same mechanism used in modern pseudorandom number generators, error-correcting codes, and encryption algorithms.

Eglash documented this with meticulous mathematical precision. The Bamana sand divination system is not merely “like” binary computing. It is binary computing — a complete system of binary random number generation, logical operations, and systematic transformation of digital data. The fact that the output is interpreted spiritually rather than used for data processing does not change the mathematical structure of the operation.

Furthermore, the Bamana divination system traveled. Through North African trade routes, it reached the Islamic world, where it became known as “ilm al-raml” (the science of the sand). From there it reached medieval Europe, where it was called “geomancy” and was practiced by scholars including Cornelius Agrippa. The mathematical structure — binary numbers manipulated through logical operations — was preserved through each cultural translation, even as the interpretive framework changed.

The Bamana were practicing binary arithmetic and logical operations centuries before George Boole published “The Laws of Thought” (1854) — the work that formalized Boolean algebra, the mathematical foundation of all digital computing.

Fractal Textiles: The Geometry of Cloth

African textile traditions provide some of the most visually striking examples of fractal design. Eglash documented fractal patterns in textiles from across the continent:

Kente cloth (Ghana). The Ashanti and Ewe peoples produce kente cloth on narrow strip looms, weaving strips approximately four inches wide that are then sewn together to create larger cloths. The patterns on kente cloth frequently exhibit self-similarity: geometric motifs that repeat at different scales within the same cloth. A diamond pattern might contain smaller diamonds, which contain still smaller diamonds. The color relationships between adjacent strips create meta-patterns at a larger scale that echo the patterns within each strip.

Kuba cloth (Democratic Republic of Congo). The Kuba people produce raffia cloth with extraordinarily complex geometric patterns created through a combination of weaving and embroidery. Kuba designs are famous for their apparent asymmetry and organic quality — they look like the natural fractal patterns found in plant growth, river systems, and biological structures. Analysis reveals that Kuba patterns use recursive algorithms: a basic shape is generated, then modified, then the modification is itself modified, producing patterns of nested complexity that approach mathematical fractals in their structure.

Adinkra stamps (Ghana). Adinkra symbols are created using carved calabash stamps pressed into cloth. Many adinkra symbols exhibit fractal self-similarity: the Nkyinkyim (zigzag) symbol, for example, is a path that changes scale as it progresses, creating a fractal-like trajectory. The overall arrangement of adinkra symbols on cloth follows recursive spatial rules similar to those found in Ba-ila settlement patterns.

Fulani wedding blankets (West Africa). These ceremonial textiles feature elaborate geometric patterns that incorporate recursive nesting — larger shapes containing smaller versions of themselves, which contain still smaller versions, across multiple scales.

The fractal nature of African textiles is not accidental. It reflects a mathematical aesthetic — a preference for self-similar patterns that is itself grounded in a cosmological worldview in which the same principles operate at every scale of reality.

Fractal Cosmology: As Above, So Below

The mathematical structures found in African settlements, textiles, and divination systems are expressions of a deeper cosmological principle: the universe is self-similar at every scale. What is true of the whole is true of the parts. What is true of the parts is true of the whole.

This principle appears in explicit form across multiple African cosmological traditions:

Dogon cosmology (Mali). The Dogon creation narrative describes the universe as emerging from a single seed (the po) that divides and subdivides in a fractal-like process, generating increasing complexity through recursive self-replication. The Dogon word for this process, bummo, means “to reproduce by dividing” — a verbal description of fractal iteration.

Yoruba cosmology (Nigeria). The Yoruba concept of ase (the power that makes things happen) operates at every scale: from the cosmic level (Olodumare, the supreme deity) through the intermediate level (the orishas, divine forces) to the personal level (individual spiritual practice) to the micro level (herbal medicine, where the same principles of balance and transformation operate at the level of plant chemistry). The same pattern of interaction between opposing forces (ire/ibi, auspiciousness/inauspiciousness) repeats at every scale.

Akan cosmology (Ghana). The Akan concept of the universe is explicitly recursive: the human being is a microcosm that contains the same structure as the macrocosm. The family contains the same structure as the village. The village contains the same structure as the kingdom. The kingdom contains the same structure as the cosmos. Each level recapitulates the whole.

This cosmological framework — self-similarity across scales — is precisely what fractal geometry formalizes mathematically. The African cultures that designed fractal settlements, fractal textiles, and fractal divination systems were not unconsciously generating pretty patterns. They were deliberately encoding their understanding of the recursive structure of reality into their material culture.

The Fractal Brain: Neuroscience Catches Up

Modern neuroscience has discovered that the brain itself is fractal. Neural branching patterns exhibit fractal self-similarity across at least four orders of magnitude. The dendritic trees of neurons — the branching structures through which they receive signals — follow fractal geometry with a fractal dimension of approximately 1.7 (between a line and a plane). The connectivity patterns of neural networks exhibit small-world and scale-free properties — both related to fractal organization. And brain electrical activity, measured by EEG, shows fractal scaling in its temporal dynamics: the same patterns of activity repeat at different time scales.

This fractal structure is not decorative. It is functional. Fractal neural architecture maximizes the surface area available for synaptic connections while minimizing the total wiring length — an optimal solution to the engineering problem of connecting billions of neurons in a confined space. Fractal temporal dynamics allow the brain to process information across multiple time scales simultaneously — from milliseconds (individual neural spikes) to seconds (perceptual integration) to minutes and hours (learning and memory).

The mathematician Mandelbrot himself pointed out that fractals are nature’s preferred geometry for any system that must maximize interface area while minimizing volume: lungs (fractal bronchial trees), circulatory systems (fractal vascular networks), kidneys (fractal nephron structures), and brains (fractal dendritic trees).

African cultures, by building fractal geometry into their environments, were creating architectural and social structures that resonate with the brain’s own fractal architecture. Living in a fractal environment may literally feel “right” to a fractal brain — a hypothesis that has been supported by research showing that people consistently prefer visual patterns with fractal dimensions matching those found in nature (approximately 1.3-1.5, according to Richard Taylor’s research at the University of Oregon).

Computational Thinking Before Computers

Eglash’s analysis revealed something more profound than the presence of fractal patterns in African design. He demonstrated the presence of computational thinking — the capacity for algorithmic, recursive, and systematic mathematical reasoning — in African cultures long before the development of formal mathematics or computing technology.

Specific examples of computational thinking include:

Iteration. Many African designs are produced by repeating a simple rule multiple times. Start with a shape. Apply a transformation. Apply the same transformation to the result. Repeat. This is the same process a computer uses to generate fractal images: apply a simple rule recursively to produce complex output.

Recursion. African settlement designs exhibit genuine recursion — a structure that contains a smaller version of itself. This is not repetition (doing the same thing again) but self-reference (a pattern that refers to itself at a different scale). Recursion is one of the most powerful concepts in computer science, underlying everything from database searching to artificial intelligence.

Scaling. African fractal designs maintain consistent scaling ratios across levels of iteration. This requires an implicit understanding of geometric similarity and proportional reasoning — mathematical concepts that are nontrivial and that European mathematics did not formalize until the Renaissance.

Random number generation. The Bamana divination system deliberately introduces randomness (the uncontrolled marks in the sand) and then processes it through deterministic operations (counting, XOR). This combination of randomness and determinism is the foundation of modern stochastic computing, Monte Carlo simulation, and cryptographic random number generation.

State transformation. African divination systems and board games (such as mancala, which originated in Africa and involves recursive redistribution of seeds/stones) process information through state transformations — taking an initial configuration and transforming it according to rules to produce a final configuration. This is the essence of computation: input, processing, output.

Why This Matters: Decolonizing Mathematics

The discovery of African fractal mathematics has implications far beyond the history of science. It challenges the deeply held assumption — embedded in Western education, philosophy, and self-understanding — that mathematics is a uniquely Western (or, at most, Western plus Asian) achievement, and that African cultures were “pre-mathematical.”

This assumption was not merely a neutral error. It was a foundational justification for colonialism. If Africans lacked mathematics — the highest expression of rational thought — then they lacked civilization, and their colonization could be framed as a civilizing mission. The mathematician and historian Paulus Gerdes documented how European colonizers systematically devalued and destroyed African mathematical traditions, replacing indigenous education systems with European models that taught African students that mathematics was a Western invention.

Eglash’s work, and the work of ethnomathematicians like Gerdes, Claudia Zaslavsky (“Africa Counts,” 1973), and Marcia Ascher (“Ethnomathematics,” 1991), has demonstrated that African mathematical traditions are sophisticated, systematic, and in some cases more advanced than their European contemporaries. Fractal geometry, binary arithmetic, and recursive algorithms were African mathematical achievements centuries before they were European ones.

This does not mean that Mandelbrot was wrong or that his formalization of fractal geometry was unnecessary. Formalization — the translation of intuitive mathematical understanding into precise notation, theorems, and proofs — is valuable and important. What it means is that mathematical insight and mathematical formalization are different things, and that the absence of formalization does not indicate the absence of understanding.

The Ba-ila understood recursion. The Bamana understood binary operations. The Kuba understood fractal iteration. They understood these things not through notation and proof but through design, practice, and lived engagement with mathematical structures embedded in their physical and social worlds.

Fractal Consciousness: The Deep Pattern

At the deepest level, African fractal mathematics points to a model of consciousness that is itself fractal — self-similar across scales, recursive in structure, and infinitely complex in its expression.

If the universe is fractal (as Mandelbrot demonstrated), if the brain is fractal (as neuroscience has confirmed), and if consciousness arises from the brain’s interaction with the universe, then consciousness itself may be fractal — exhibiting the same patterns at the level of individual thoughts, personal identity, social structures, and cosmic organization.

African cosmologies have always described exactly this: a universe in which the same principles of creation, transformation, and dissolution operate at every scale, from the seed to the cosmos, from the individual to the community, from the moment to the epoch.

The European mathematical tradition, from Euclid through Newton, described a universe of straight lines, smooth curves, and regular shapes. This Euclidean universe was orderly, predictable, and — as Mandelbrot pointed out — profoundly unlike the actual world. Nature does not build with straight lines. It builds with fractals.

African mathematical traditions, from the Ba-ila through the Bamana, described a universe of recursive patterns, self-similar structures, and emergent complexity. This fractal universe was closer to the actual structure of reality than the Euclidean universe that European mathematics took two thousand years to transcend.

The first fractal geometers were African. The mathematics that most accurately describes the natural world — fractal geometry — was an African discovery before it was a European formalization. And the consciousness that perceives and creates fractal patterns is itself a fractal system, resonating with the fractal universe of which it is a part.


This article synthesizes Ron Eglash’s research on African fractals with modern mathematics and neuroscience. Key references include Eglash’s “African Fractals: Modern Computing and Indigenous Design” (1999), Benoit Mandelbrot’s “The Fractal Geometry of Nature” (1982), Claudia Zaslavsky’s “Africa Counts” (1973), Paulus Gerdes’s work on ethnomathematics, and Richard Taylor’s research on fractal aesthetics at the University of Oregon.