Fabric as Data — Textile Information Storage Across 5,000 Years

Humans have been encoding information in fiber for at least 5,000 years. The range of approaches spans three-dimensional knotted strings, binary warp-and-weft patterns, and — in 2025 — electronic fibers that sense, store, process, and transmit data. This page traces that 5,000-year arc and asks: what does it tell us about the relationship between information and physical matter?

Freshness: The quipu decipherment section reflects findings through early 2026; this is a fast-moving field.

The Quipu: Ancient Andean Data Structure

What It Is

A quipu (also spelled khipu) is an assemblage of knotted, colored cords — a pendant structure in which subsidiary cords branch from a primary cord, forming a tree-like hierarchy. Used extensively by the Inca Empire (c. 1400–1532 CE) and with roots going back to pre-Inca Andean cultures as early as 2600 BCE.

Approximately 600–1,000 quipus survive in museums worldwide.

How It Encoded Information

The encoding system is multidimensional:

VariableEncodes
Knot typeNumerical value (base-10 positional system)
Knot position on cordDecimal place
Cord colorCategory (census grouping, commodity type, etc.)
Cord fiber type (camelid vs cotton)Possibly social/administrative class
S-twist vs Z-twist ply directionUnknown — possibly phonetic
Cord attachment styleHierarchical relationship

The numeric encoding was decoded in the 1920s. Quipu have been used to record census data, tribute, astronomical calendars, and administrative records.

The Narrative Hypothesis (active research)

The crucial open question: did quipu also encode language — narrative, history, myth?

Anthropologist Sabine Hyland (University of St Andrews) has published the most significant recent advances:

  • 2017: Identified two “khipu epistles” from Andean villages of Tupicocha and Mangas. Villagers describe these as narrative letters encoding warfare accounts. Analysis found 95 distinct symbols — within the range of a logosyllabic writing system (Sumerian cuneiform: ~700 symbols; Cherokee syllabary: 86)
  • 2024: Documented the longest known quipu, in the village of Jucul; compared it to the calendrical quipu at Rapaz
  • 2025: Published (in Science Advances) stable isotope evidence showing that commoners, not just administrative specialists, participated in quipu production — potentially widening the literacy hypothesis

Confidence: The narrative encoding hypothesis is emerging. The numeric encoding is established.

The Computer Science Interpretation

Computer scientist Richard Dosselmann analyzed quipu structure and found it maps naturally to a tree data structure — the same structure used in filesystems, XML, and organizational databases. He built three working software applications powered entirely by quipu data: a spreadsheet, a filesystem, and an image representation tool.

The quipu may be the oldest example of a hierarchical, indexed data structure.

Cross-realm connection: The quipu’s tree structure is identical in form to concept-fermi-paradox von Neumann probe branching models — hierarchical expansion from a root node.

Binary Weaving: The Deep Mathematics of Interlacement

Weaving Is Inherently Binary

Every weave structure reduces, at root, to a binary choice for each warp thread at each weft crossing: up (1) or down (0). This is not an analogy — it is a literal description of the physical operation.

Weaving drafts (the notation system weavers use to plan and encode patterns) are two-dimensional binary arrays. The decision of which harnesses are threaded in what order, which are raised when, and how the treadles are tied to harnesses is a fully specified program in Boolean algebra.

Scholar Ellen Harlizius-Klück (whose work spans ancient Greek mathematics and weaving) has argued that:

  • The ancient Greek “theory of odd and even” (dyadic arithmetic) was developed partly through weaving, not just in parallel with it
  • Pattern algebra — the rules governing how interlacement produces designs — is a formal mathematical system that weavers mastered millennia before it was formalized by mathematicians
  • The first printed books on weaving pattern notation (16th century) created the standardized symbolic representations that later enabled Jacquard’s mechanization

Her essay “Weaving as Binary Art and the Algebra of Patterns” (TEXTILE, Vol. 15, No. 2, 2017) makes this case rigorously.

The Notation → Computation Pipeline

The pipeline from weaving notation to computing runs through two steps:

  1. Notation → Jacquard: Printed weaving drafts standardized a 2D binary notation for patterns. The Jacquard mechanism physically implemented the read-and-actuate operation on that notation.
  2. Jacquard → Babbage → IBM: See tech-jacquard-loom

The implication: computing did not merely borrow punched cards from textiles. The conceptual substrate of binary pattern algebra was developed in textile culture over millennia and then inherited by the computing tradition.

Weaving and Music: A Structural Kinship

This connection is less well-known and genuinely surprising.

Shared Notation Origins

Medieval European craftsmen — weavers, carpenters, joiners — gathered in spare-time singing societies to compose and perform lyric poetry. The notation systems they used: tabulatures, the forerunners of modern musical staff lines, which are structurally similar to weaving draft notation. Both systems encode:

  • Discrete time steps (columns in a weaving draft; beats in a musical score)
  • Multiple simultaneous voices/threads (rows in a weaving draft; staves in a score)
  • Binary or discretized states (thread up/down; note on/off, pitch value)

The Bach Parallel

Johann Sebastian Bach’s counterpoint — particularly the fugues in The Art of Fugue (BWV 1080) and The Well-Tempered Clavier — is often described in weaving metaphors and shares formal properties:

  • Polyphony as interlacement: multiple independent voices that interact to produce emergent structure, just as warp and weft interweave
  • Subject inversion and retrograde: Bach routinely inverts and reverses melodic subjects — operations identical to warp-axis and weft-axis reflections in weaving symmetry
  • Modular combinatorics: both fugue construction and weaving drafts involve permuting a finite set of elements to generate vast pattern spaces

The contemporary art project “Weaving Music” (Reuben Son, 2019) made this explicit: it re-imagined the loom as a music sequencer, reading weaving notation columns as time-ordered musical events. The translation is not merely metaphorical — the information structures are isomorphic.

Cross-realm surprise: Bach’s compositional technique and multi-harness weaving drafting may have drawn on the same underlying combinatorial mathematics — possibly descending from the same medieval craft-notation tradition. This has not been fully established in the academic literature; it is speculative but well-grounded structurally.

Modern Smart Textiles: Fabric Computes Again

State of the Art (2025)

Smart textiles have moved from laboratory curiosity to emerging market. Key developments:

  • Data storage & processing: Functional yarns woven into cloth can now transmit signals and perform rudimentary computation. As of 2025, researchers have produced energy-storage-enabled smart flexible fabrics with 264.8 J/g storage capacity without sacrificing washability.
  • Battery-free operation: A January 2025 paper (Engineering) described fibers that harvest ambient energy (light, motion) and use it to send electrical signals and generate light — no batteries or chips required. The “chip” is in the fiber geometry.
  • Market trajectory: The global smart textiles with integrated electronics market was valued at 55.6 billion by 2034 (22.8% CAGR).

The Conceptual Closure

Smart textiles close a 5,000-year loop:

  • 2600 BCE: Andean quipus encode data in fiber geometry (knot position, twist direction, color)
  • 1804: Jacquard loom reads binary patterns from punched cards to control fiber placement
  • 1890: Punched cards encode human data for Hollerith’s census machines
  • 1950s–70s: Magnetic core memory in early computers — tiny ferrite rings threaded with wire — was literally woven by hand, predominantly by women
  • 2025: Fibers that compute, store, and communicate, worn on the body

The magnetic core memory point is underappreciated: The RAM in Apollo guidance computers and IBM mainframes was physically hand-woven by women — many of them hired from the textile industry. The computing revolution was, in part, manufactured by weavers. (See: the Raytheon “LOL memory” team; MIT Instrumentation Lab weavers for Apollo.)

Key Facts Summary

  • Quipu predates Jacquard by ~4,200 years as a textile data system
  • Binary weaving predates formal Boolean algebra by at least 2,000 years
  • Sabine Hyland’s 2025 Science Advances paper extended khipu literacy to commoner production
  • Weaving notation and musical tablature share structural and possibly historical origins
  • Magnetic core memory (1950s–70s) was hand-woven; early computing was literally a textile craft
  • Smart textile market: $7B in 2024, growing 22.8% annually

See Also