Quantifying the Relative Influence of Parameters on Pilling Results in Woven Fabrics. A data-driven, explainable simulator for textile pilling prediction across all four processing stages.
- Overview
- The Challenge
- Parameter Framework
- Scoring Engine
- Simulator Interface
- Installation
- Usage
- Validation
- Repository Structure
- Methodology Documentation
- License
- Acknowledgments
- Contact
This simulator predicts pilling behavior in woven fashion fabrics based on parameters across all four stages of textile processing. It is the first integrated tool to relate fibre composition, yarn construction, fabric structure, and finishing treatments into a single, explainable confidence-scored prediction.
| Stage | Parameters Covered |
|---|---|
| Fibre | Type, blend ratio, fibre length, denier, crimp |
| Yarn | Twist, hairiness, spinning method, count |
| Construction | Weave type, warp/weft density, fabric mass |
| Finishing | Singeing, mercerization, anti-pilling treatment, resin |
What this solution delivers:
- Relative influence scoring — which parameters matter most and by how much
- Scenario simulation — test any parameter change at any processing stage
- Pilling class prediction (1–5) targeting ≥3 per ISO 12945-2:2000
- Explainability — plain-language reasons for every prediction change
- Trade-off analysis — durability vs. hand-feel vs. cost impact
Live Simulator: aionsystem.github.io/PILLING-SIMULATOR
Problem: Textile manufacturers need to reduce pilling without compromising comfort or appearance. No integrated tool exists that relates all parameters across spinning, weaving, dyeing, and finishing into a single actionable prediction.
Target: Achieve pilling class ≥3 under ISO 12945-2:2000 (Martindale method).
Material scope: Woven fabrics from polyester, viscose, wool, and elastane blends (polyester dominant); spun yarns from staple fibres.
What this solution explicitly avoids:
| Exclusion | Rationale |
|---|---|
| Addressing only one processing phase | Pilling is a multi-stage phenomenon — single-phase tools miss systemic interactions |
| Targeting only one fabric type | Industrial reality demands adaptability across blend compositions |
| Lacking explainability | Manufacturers need to know why a change improves class, not just that it does |
| Parameter | Impact on Pilling | Optimal Direction |
|---|---|---|
| Fibre length | Short fibres pill more | Longer → better |
| Fibre denier | Fine denier pills more | Coarser → better |
| Fibre tenacity | High tenacity = pills persist | Moderate → better |
| Fibre crimp | High crimp = less pilling | Higher → better |
| Polyester % | Anchor fibre — holds pills on surface | Higher = more retention |
| Viscose % | Weak when wet — increases pill formation | Lower → better |
| Parameter | Impact on Pilling | Optimal Target |
|---|---|---|
| Yarn twist | Higher twist = less pilling | 700–900 tpm |
| Yarn hairiness | Lower hairiness = better | H < 4.0 |
| Spinning method | Ring-spun produces more hairiness than open-end | Open-end preferred |
| Yarn count | Finer count = more pilling | Coarser → better |
| Parameter | Impact on Pilling | Optimal Target |
|---|---|---|
| Weave type | Plain < Twill < Satin (tightness) | Plain = tightest → best |
| Warp density | Higher density = less pilling | ≥ 45 picks/cm |
| Weft density | Higher density = less pilling | ≥ 40 picks/cm |
| Fabric mass | Heavier = better pill resistance | ≥ 150 gsm |
| Treatment | Effect on Pilling |
|---|---|
| Singeing | ✅ Reduces pilling — burns off surface fibres |
| Mercerization | ✅ Reduces pilling — increases fibre coherence |
| Anti-pilling chemical | ✅ Reduces pilling |
| Resin finishing | ✅ Most effective — binds surface fibres |
| Shearing | ✅ Reduces pilling |
| Softening agent | |
| Heat-setting | ➖ No significant effect on pilling class |
PSS_base = 0.50 (neutral starting point)
PSS_final = PSS_base
× w_fibre × (fibre_contribution)
× w_yarn × (yarn_contribution)
× w_construction × (construction_contribution)
× w_finishing × (finishing_contribution)
Each parameter group contributes a weighted percentage to the final prediction. Weights are adjustable within validated ranges:
| Group | Default Weight | Adjustable Range |
|---|---|---|
| Fibre composition | 35% | 25–45% |
| Yarn construction | 25% | 20–30% |
| Woven construction | 25% | 20–30% |
| Finishing treatments | 15% | 10–20% |
Pilling_Class = 1 + (1 − PSS_final) × 4
Classification:
Class 5 — PSS_final ≤ 0.20 No pilling
Class 4 — PSS_final 0.21–0.40 Slight pilling
Class 3 — PSS_final 0.41–0.60 Moderate pilling ← TARGET (ISO 12945-2:2000)
Class 2 — PSS_final 0.61–0.80 Severe pilling
Class 1 — PSS_final ≥ 0.81 Very severe pilling
Confidence = 1 − Uncertainty_Mass (UM)
Uncertainty penalties applied when inputs deviate from validated ranges:
Fibre blend outside typical industrial ratios +0.10 UM
Twist outside 700–900 tpm +0.10 UM
Density outside typical range +0.05 UM
Untested finishing treatment combination +0.05 UM
A confidence score below 70% triggers a flagged output — the prediction is reported as uncertain and the deviation is named explicitly.
┌─────────────────────────────────────────────────────────────────┐
│ TEXTILE PILLING SIMULATOR — InoCrowd Challenge 2026 │
├─────────────────────────────────────────────────────────────────┤
│ PHASE 1: FIBRE │
│ Polyester %: ████████████░░░░░░ 60% │
│ Viscose %: ██████░░░░░░░░░░░░ 30% │
│ Wool %: ██░░░░░░░░░░░░░░░░ 10% │
│ Elastane %: ░░░░░░░░░░░░░░░░░░ 0% │
│ Fibre length: ████████░░░░░░░░░░ Medium (>30mm) │
├─────────────────────────────────────────────────────────────────┤
│ PHASE 2: YARN │
│ Twist (tpm): ████████░░░░░░░░░░ 750 │
│ Hairiness (H): ██████░░░░░░░░░░░░ 3.2 │
│ Spinning: ○ Ring-spun ● Open-end │
├─────────────────────────────────────────────────────────────────┤
│ PHASE 3: CONSTRUCTION │
│ Weave type: ● Plain ○ Twill ○ Satin │
│ Warp density: ██████████░░░░░░░░ 48 picks/cm │
│ Weft density: ████████░░░░░░░░░░ 42 picks/cm │
├─────────────────────────────────────────────────────────────────┤
│ PHASE 4: FINISHING │
│ Singeing: ● Yes ○ No │
│ Mercerization: ● Yes ○ No │
│ Anti-pilling: ● Yes ○ No │
│ Resin finish: ○ Yes ● No │
├─────────────────────────────────────────────────────────────────┤
│ RESULTS │
│ ┌─────────────────────────────────────────────────────────┐ │
│ │ PREDICTED PILLING CLASS: 3.4 ✅ (≥3 = PASS) │ │
│ │ CONFIDENCE: 82% (UM: 0.18) │ │
│ │ │ │
│ │ RELATIVE INFLUENCE: │ │
│ │ Fibre composition: 32% │ │
│ │ Yarn construction: 28% │ │
│ │ Woven construction: 25% │ │
│ │ Finishing treatments: 15% │ │
│ │ │ │
│ │ EXPLANATION: │ │
│ │ → Polyester 60% anchors pills — moderate retention │ │
│ │ → Twist 750 tpm is optimal for this blend │ │
│ │ → Plain weave + anti-pilling pushes class to 3.4 │ │
│ │ → Adding resin finish would reach class 4.0 │ │
│ └─────────────────────────────────────────────────────────┘ │
├─────────────────────────────────────────────────────────────────┤
│ TRADE-OFFS │
│ Durability: ████████████░░░░░░ Good │
│ Hand-feel: ██████████░░░░░░░░ Acceptable │
│ Cost estimate: +8% vs. baseline │
└─────────────────────────────────────────────────────────────────┘
# Clone the repository
git clone https://github.com/AionSystem/PILLING-SIMULATOR.git
cd PILLING-SIMULATORNo dependencies — pure HTML, CSS, and JavaScript. Open index.html in any modern browser.
GitHub Pages deployment:
- Push to
mainbranch - Enable GitHub Pages in repository Settings → Pages
- Live at:
https://aionsystem.github.io/PILLING-SIMULATOR/
| Action | Method |
|---|---|
| Adjust fibre blend | Move sliders — total must equal 100% |
| Modify yarn twist | Drag twist slider (optimal: 700–900 tpm) |
| Change weave type | Click radio button |
| Toggle finishing treatments | Activate/deactivate switches |
| Read real-time prediction | Updates instantly on any input change |
| Export results | Click Generate Report button |
Interpreting the output:
- Class ≥ 3 — Acceptable for market under ISO 12945-2:2000
- Confidence > 70% — Prediction is reliable; inputs are within validated ranges
- Influence % — The parameter group where improvement has the highest leverage
- Uncertainty Mass > 0.30 — At least one input is outside validated industrial ranges; result is flagged
The scoring engine is calibrated against published textile engineering research. No proprietary data was used.
| Source | Finding | Implementation |
|---|---|---|
| ISO 12945-2:2000 | Martindale method — pilling classification standard | Classification scale 1–5; target ≥3 enforced |
| AATCC Test Method 61-2013 | Accelerated pilling assessment standards | Weighting calibration for finishing treatments |
| Moghassem & Najar (2012) | Bending rigidity + weft count predict pilling class | Included in Phase 3 construction scoring |
| Textile Research Journal | Fibre length, denier, and crimp correlations | Phase 1 parameter weightings |
Edge cases tested:
| Scenario | Expected Result | Simulator Output |
|---|---|---|
| 100% polyester, no finishing | Pill retention high — moderate class | Class 2.8–3.1 |
| 100% viscose, no finishing | Weak when wet — lower class | Class 1.9–2.3 |
| Low twist + high hairiness | Class failure | Class < 3.0 flagged |
| All anti-pilling treatments active | Class target exceeded | Class 4.0+ achieved |
PILLING-SIMULATOR/
│
├── index.html ← Main simulator interface
├── style.css ← Styling (AION system design language)
├── script.js ← Scoring engine + UI logic
│
├── docs/
│ ├── methodology.md ← Full parameter framework + scoring formulas
│ ├── validation.md ← Test cases + ISO compliance notes
│ └── tradeoffs.md ← Durability / hand-feel / cost analysis
│
├── assets/
│ └── images/ ← Screenshots, interface previews
│
├── README.md ← This file
└── LICENSE ← GPL-3.0
Full methodology is documented in docs/methodology.md. Key sections:
- Data collection — Published textile research with full citations
- Parameter correlation — Pairwise interaction matrix across all four phases
- Scoring architecture — PSS formula derivation, weight calibration, uncertainty quantification
- ISO 12945-2:2000 compliance — Martindale method mapping and class boundary rationale
The simulator is a parametric engineering model built entirely from published research. All formulas and weights are traceable to cited sources.
GNU General Public License v3.0
See LICENSE for full terms. Open for research, academic, and non-commercial use. Commercial licensing available — contact aionsystem@outlook.com.
| Source | Role |
|---|---|
| InoCrowd Challenge | Problem statement — quantifying pilling parameter influence |
| ISO 12945-2:2000 | Martindale method standard — pilling classification reference |
| Textile Research Journal | Fibre parameter correlations and weighting calibration |
| AATCC Test Method 61-2013 | Pilling assessment standards |
| AION Constitutional Stack | Epistemic scoring and uncertainty quantification architecture |
Sheldon K. Salmon — AI Reliability Architect, AION Systems
| Channel | Link |
|---|---|
| GitHub | github.com/AionSystem |
| Portfolio | aionsystem.github.io |
| aionsystem@outlook.com | |
| ORCID | 0009-0005-8057-5115 |
Textile Pilling Simulator v0.1.0 · InoCrowd Challenge 2026
Four-stage parameter framework · ISO 12945-2:2000 · Confidence-scored predictions
