Perpetua
Punch Card Collective · 2022 · Factory
Perpetua is a collection of generative weavings. Fabric emerges from a series of binary choices as horizontal threads go over or under vertical threads. These decisions are interconnected, systematic, and give rise to an infinite variety of patterns, making weaving an ancient generative art. In essence, weaving is a practice of meticulous matrix multiplication calculated in threads. We construct each Perpetua image, just like many weavers do, as the product of three binary matrices (the “treadling”, “tie-up”, and “threading”). This kind of design schematic is called a weaving draft and it allows us to converse with traditional weaving patterns and symbols while also extending into alien weavings that would be physically impossible to produce.
How it works
The core is a weaving simulation by a fragment shader. It passes the three matrices of a loom — threading, treadling and tie-up — to the shader as textures, and judges, per pixel, 'is the warp on top or the weft on top' by multiplying the matrices. It computes the very structure of the textile as matrix operations. By combining this judgement with the threads' colours, the weave of the cloth rises. True to the theme of weaving (Perpetua), it translates the logic of traditional weaving into a shader, and by having the hash decide the three matrix patterns and the palette, it generates a different textile design at every point.
Palette
#023435#392c5c#f22512#01482e#e1431c#c13146#381b58#f03011#b45547#bd5a58#b4505e#04502b#065034#184c42#184c5f#075049#105046#25542f#25540f#125049#185042#99143c#99140f#245048#b40829#b4085f#25502f#c8213b#c8215f#2f5030#cc545f#99503c +78 more #cdcec0#5a7eb7#c6a76e#a8b084#252226#797f74#080809#4f4950 Algorithms
- Fragment Shader (GLSL) primary · classification: rule-based
- Marching Squares / Contours · classification: rule-based
Details
View generator ↗ · Art Blocks ↗
Sources
- On-chain artblocks.io ↗
Related works (by shared algorithms)
Last updated 2026-07-16