Tubular Jacquard Generation | Algorithmic Design | Digital Fabrication
This project implements a computational pipeline for generating complex Moroccan Zelij patterns and translating them into machine-knittable instructions (Knitout). It addresses the challenge of mapping rigorous geometric tilework onto the constrained grid of a weft-knitted structure while maintaining structural integrity and pattern definition.
The core of this project is a procedural generation engine that:
- Pattern Synthesis: Algorithmically generates families of Zelij patterns based on traditional geometric rules.
- Tubular Jacquard Mapping: Converts 2D pixel data into a double-bed tubular structure, managing float lengths and color separation automatically.
- Knitout Generation: Outputs low-level
.knitoutcode compatible with industrial flat-bed knitting machines (e.g., Shima Seiki), providing direct control over racking, yarn carriers, and needle selection.
- Algorithmic Design: Parametric generation of tile patterns.
- Fabrication-Aware: Automated handling of knitting constraints (floats, stitch density).
- Direct Control: Bypasses proprietary design software by generating machine code directly.
running the generation script (requires Node.js):
node chamomile.js <input_pattern.png>The output is a .k file ready for machine processing.