Pattern as Code
Anni Albers (1899-1994)
At every crossing in a weave, warp or weft is on top, so cloth can be read as ones and zeros.
Warp and weft
Anni Albers (1899–1994) spent her life at a loom and treated weaving as a form of thinking. Woven cloth is made from two sets of threads: the warp, held taut lengthwise, and the weft, passed over and under it. At every crossing either the warp rides on top or the weft does, so each crossing can be written as a one or a zero.
That two-state structure is older than computing. Albers' preparatory drafts from the 1920s are careful grids marking which threads lift on each pass. She wrote them for a hand loom, and they closely resemble the punch cards that later fed early computers.
Threading and treadling
Threading and treadling are the two sequences a weaver sets up before weaving begins. Threading decides how each warp thread is controlled, and treadling decides what happens on each row. In this tool those two binary sequences fully determine the cloth. Toggling one threading cell flips every square in that thread's column, toggling one treadling cell flips a whole row, and the same edit always gives the same result.
A short set of rules can produce a lot of visual complexity. Twill, herringbone, and basket weave are each specified by a draft rather than drawn, and the buttons under the cloth load each one.
"Courage is an important factor in any creative effort. It can be most active when knowledge in too early a stage does not narrow the vision." — Anni Albers, On Weaving (1965)
Materials
At Black Mountain College, Albers had her students work with raw materials: grass, paper, metal shavings, corn. They tested what each material could and couldn't do, much as a programmer tests an unfamiliar data source. Her 1929 wall covering for a trade union school auditorium, worked out through patient trials of the material, combined cellophane and chenille so that one face reflected light and the other absorbed sound.
You can also give individual warp and weft threads their own colors. Color sits on top of the binary structure without changing it, and how the two interact is hard to predict until you see them together in the cloth.
The Studio
Adjust the controls and save the studies you want to keep.
Exercises
1. Read the binary
~6mClick Plain. With Edit Threading selected, toggle one cell in the threading strip and watch which squares in the cloth flip. A square shows warp when its threading and treadling cells match, so every flip follows from that one rule.
Goal: Predict, before clicking, which cells a single toggle will change.
2. Build a 4-color twill
~10mClick Twill, give the warp and the weft two colors each, then use the stripe buttons under each color list. Watch where the diagonal crosses the color bands.
Goal: Produce a twill where color and structure reinforce the diagonal.
3. Point twill vs. herringbone
~8mCompare Point Twill and Herringbone side by side (save one, then the other). The only difference is whether the treadling also reverses.
Goal: Describe what changes when both sequences mirror instead of one.
4. Complexity from simple rules
~12mUsing only the binary cells and leaving the colors alone, design a draft that looks far more complex than the handful of edits it took to make.
Goal: Get maximum visual complexity from minimal sequence edits.
5. Turn off the thread texture
~6mUncheck Organic thread texture to see the flat binary draft, then check it again. Decide which shows your structure better, the diagram or the cloth.
Goal: Save one study that reads best as a flat draft and one as cloth.
Sources & further reading
Primary sources
Ada Lovelace, "Notes on L. Menabrea's Sketch of the Analytical Engine invented by Charles Babbage." 1843.
The exact wording of "weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves."
The Josef and Anni Albers Foundation, Anni Albers, Selected Writings.
Source of the courage passage quoted in the lesson, from "Weaving at the Bauhaus."
Museum and foundation records
Bauhaus-Denkmal Bernau, "300 Meters of Silver Fabric for the Lecture Hall: Anni Albers's Bauhaus Diploma Thesis."
The 1929 Bundesschule wall covering: materials, Zeiss testing, and diploma-thesis status.
The Museum of Modern Art, collection record for the Bundesschule wall-covering material.
Museum record for the 1929 wall-covering material.
Tate, artist page for Anni Albers.
Life dates, 1899 to 1994, and the 2018 retrospective.
Bodleian Libraries, "Ada Lovelace and the Analytical Engine."
Corroborates authorship and the 1843 date of Lovelace's Notes.
Computer History Museum, "Punched Cards Control the Jacquard Loom."
The 1804 Jacquard patent and punched-card control of warp lift.
The Museum of Modern Art, exhibition record for "Anni Albers Textiles," 14 September to 6 November 1949.
First solo show by a textile designer at MoMA.
The Josef and Anni Albers Foundation, page for On Weaving (1965).
Publication record for Anni Albers's book.
Further reading
Artsy Editorial, "How the Women Weavers of the Bauhaus Have Inspired Generations of Textile Artists."
The Sheila Hicks and Lenore Tawney lineage into sculptural fiber art.
Alison Jacques, coverage of the Metropolitan Museum of Art's 2024 exhibition "Weaving Abstraction."
Corroborates the Albers, Hicks, and Tawney lineage grouping.
"Anni Albers," Wikipedia.
Dates, the 1929 commission, and the 1949 MoMA show, used only to cross-check other sources.
Related lessons
Color as System
Josef Albers (1888-1976)
A color's appearance depends on the colors around it.
Order and Disorder
Vera Molnár (1924-2023)
She added a small, controlled amount of randomness, her 1% disorder, to strict geometric order.
Software as Medium
Casey Reas (b. 1972)
The co-creator of Processing argued that software itself is an artistic medium worth taking seriously.


