---
title: "Code and Cloth"
section: posts
description: "The loom is an old model for programmable work, and a useful way to think about what AI changes in software craft."
tags: ["weaving", "craft", "technology", "software-development", "industrialization", "creative-process", "artisanal", "metaphor", "textile-history", "vibe-coding"]
created: 2025-04-03T16:53:00Z
updated: 2026-08-24T23:01:23Z
cid: bafkreigkmb3toiipoaw6xnji4hgr3tfqtopcpserxccfsuor236fzl2ona
html: https://iammatthias.com/posts/1743724413087-code-and-cloth
---

# Code and Cloth

I keep coming back to the loom when I think about code generation. The analogy predates software. Ada Lovelace wrote that the Analytical Engine "weaves algebraic patterns, just as the Jacquard-loom weaves flowers and leaves." A programmable machine could turn an abstract pattern into a material result.

Weaving holds separate strands under tension and gives the maker a structure for combining them. Software frameworks do something similar for logic and data. The loom makes the relationship between tool, pattern, and maker unusually visible.

## Industrialization

The [spinning jenny](https://en.wikipedia.org/wiki/Spinning_jenny), [power loom](https://en.wikipedia.org/wiki/Power_loom), and [Jacquard machine](https://en.wikipedia.org/wiki/Jacquard_machine) changed the economics of cloth. Jacquard's loom used punched cards to lift threads in repeatable patterns, moving some of the knowledge from the operator into the machine and its instructions.

That shift created scale and resistance at the same time. Silk weavers in France attacked Jacquard looms, and textile workers associated with the Luddites later targeted machines that threatened their trades. The conflict was about labor, ownership, and who benefited from the increased output, not simply a fear of tools.

## Persistence of craft

Mechanization did not erase handweaving. Banarasi silk and khadi in India, backstrap-loom traditions in the Andes, and Kente weaving in West Africa still carry techniques and meanings that factory output cannot absorb. The maker remains part of what the object is.

## Software

Early programs often carried the fingerprints of one programmer or a small team because the entire system could fit inside their view. Modern software depends on layers of shared abstractions, specialized teams, and standardized tooling. Those layers let us build systems no individual could hold alone, but they also increase the distance between a person and the thing being made.

## The loom

I am interested in software made outside the arena of market share, growth loops, and public metrics. Small programs can exist because one person wanted them to exist. The loom is useful here because it is productive without requiring industrial scale.

## Software as soft-wear

Taken too literally, coding as weaving turns "software" into "soft-wear": something fitted to a person, comfortable in use, and allowed to show the decisions of its maker. The pun is terrible. I am keeping it.

## Vibe coding: the new loom

"Vibe coding" is Andrej Karpathy's term for staying in the flow of a project while an AI handles much of the implementation. The model shifts more knowledge into the tool, while the person stays responsible for the pattern, the corrections, and whether the output is worth keeping.

A loom can serve a factory or a single maker. It expands the patterns one person can produce without deciding what those patterns are for. AI-assisted programming carries the same unresolved split, which is more interesting to me than whether the resulting code counts as handmade.

---

## Related

- [Phosphene](https://iammatthias.com/art/1781816428977-phosphene.md): A camera that turns each photo into a poem, then paints a new image from those words.
- [Ocean Dreams](https://iammatthias.com/art/1738786576559-ocean-dreams.md): Early GAN art from coastal images, creating three collections of dreamy, hallucinatory seascapes that inspired further.
- [No Stone Unturned](https://iammatthias.com/art/1710823985569-no-stone-unturned.md): A rock traveled in my camera bag, and was photographed time and time again.
- [Crab Cakes](https://iammatthias.com/recipes/1602523740000-crab-cakes.md): Classic crab cakes made with canned crab, eggs, mayo and seasonings. Form into patties and sauté in butter until golden brown on both sides.
- [Flatframe](https://iammatthias.com/posts/1563778800000-flatframe.md): Aerial photography technique capturing motion in a static frame (like waves or crowds) using stationary drone footage between 10-60 seconds.
