Embroidery as a Computational Language System
Dataset v3, Execution System, and Grammar Framework
Abstract
This white paper introduces Yunbroidery (Yunbroidery.com), a framework that transforms embroidery from a traditional craft into a structured computational language system.
By integrating:
✦ dual-sided representation (front / back)
✦ temporal execution modeling
✦ grammar-based annotation
embroidery is redefined as a sequence of structured operations.
Dataset v3 introduces three key innovations:
✦ cross detection
✦ regional classification
✦ role assignment
These innovations enable AI systems to analyze, model, and learn embroidery as a computational structure.
1. Introduction
Embroidery has traditionally been regarded as a visual and material craft.
However, its underlying logic — stitch sequences, path selection, and tension control — reveals a structured system analogous to language.
Yunbroidery proposes a fundamental shift:
Embroidery is not an image.
It is a language composed of operations.
2. System Overview
2.1 Dual-Sided Model
The embroidery process is represented as two synchronized layers:
✦ Front side (surface): visible structure
✦ Back side (path): execution logic
These two layers form a causal system.
2.2 Execution Sequence
Each embroidery process is modeled as:
Step 1 → Step 2 → … → Step N
Each step functions as a discrete computational unit.
2.3 Grammar Layer
Each stitch is annotated with:
✦ Direction (dx, dy)
✦ Distance
✦ Region
✦ Role
✦ Event
This transforms execution into a grammatical system.
3. System Diagrams

Figure 1 — Dual-Sided Execution Model
Front Structure | Back Path
Visible Result | Hidden Logic
The front layer represents structural output, while the back layer reveals generative execution. This synchronous mechanism enables causal mapping.
Figure 2 — Embroidery Grammar Model
Stitch → Vector → Region → Role → Event
Each stitch evolves from geometric movement into semantic meaning, forming a full grammatical system.
Figure 3 — Dataset v3 Structure
✦ Marking level: Stitch = (start point, end point)
✦ Feature level: (dx, dy, distance, direction)
✦ Semantic level: (region, role, event)
4. Dataset v3 Specification
Each frame contains:
✦ step, layer, type
✦ start point, end point
✦ dx, dy, distance, direction
✦ loop / cycle / intersection flags
✦ start region, end region
✦ tension level
✦ role
✦ event
This structure enables full computational reconstruction of embroidery behavior.
5. Core Innovations
5.1 Cross Detection
Identifies structural intersection points between stitches.
Meaning:
✦ tension concentration
✦ structural constraint
✦ complexity emergence
5.2 Regional Classification
Defines spatial hierarchy:
✦ center
✦ inner
✦ boundary
✦ outer
Meaning:
✦ controls expansion
✦ organizes structure
5.3 Role Assignment
Defines functional behavior of stitches:
✦ anchor
✦ connector
✦ tension line
✦ loop
✦ return point
Meaning:
Stitches become grammatical units rather than purely geometric marks.
6. Case Study — Canvas 206 (Multilayer Structure)
Characteristics
✦ five-layer system
✦ alternating front/back execution
✦ repeated return and intersection events
Structural Observations
- Repetitive return patterns
→ controlled cyclic routing - Intersection structures
→ tension distribution nodes - region transitions
→ center → boundary expansion
Grammar Interpretation
Canvas 206 can be described as:
A multilayer recursive system with controlled tension intersections and distributed anchor points.
7. From Embroidery to Language
Mapping:
✦ Stitch → token
✦ Path → sequence
✦ Structure → grammar
This enables:
✦ pattern recognition
✦ generative modeling
✦ AI training systems
8. Applications
✦ AI training datasets
✦ computational design systems
✦ structural analysis models
✦ generative embroidery systems
9. Future Work
Dataset v4
✦ path grouping (sentence-level structure)
✦ grammar patterns (zigzag, radial, loop systems)
✦ tension flow fields
System Expansion
✦ real-time grammar visualization
✦ AI-assisted pattern generation
✦ cross-domain applications (architecture, materials science)
10. Conclusion
Yunbroidery establishes embroidery as a computational language system.
By formalizing:
✦ structure
✦ path
✦ tension
into a unified framework, it bridges traditional craft and artificial intelligence.
This work defines a new field:
Embroidery as Computation
SEO Summary
This white paper introduces Yunbroidery, a computational framework that redefines embroidery as a structured language system. Through Dataset v3, dual-sided execution modeling, and grammar-based annotation, embroidery is transformed into a machine-readable system integrating structure, path logic, and tension dynamics. The framework enables AI-driven analysis, generative modeling, and cross-disciplinary applications in computational design and intelligent systems.
