Lune

UIST2023Top-tier venue

KnitScript: A Domain-Specific Scripting Language for Advanced Machine Knitting

Megan Hofmann, Lea Albaugh, Tongyan Wang, Jennifer Mankoff, Scott E. Hudson

Abstract

Knitting machines can fabricate complex fabric structures using robust industrial fabrication machines. However, machine knitting’s full capabilities are only available through low-level programming languages that operate on individual machine operations. We present KnitScript, a domain-specific machine knitting scripting language that supports computationally driven knitting designs. KnitScript provides a comprehensive virtual model of knitting machines, giving access to machine-level capabilities as they are needed while automating a variety of tedious and error-prone details. Programmers can extend KnitScript with Python programs to create more complex programs and user interfaces. We evaluate the expressivity of KnitScript through a user study where nine machine knitters used KnitScript code to modify knitting patterns. We demonstrate the capabilities of KnitScript through three demonstrations where we create: a program for generating knitted figures of randomized trees, a parameterized hat template that can be modified with accessibility features, and a pattern for a parametric mixed-material lampshade. KnitScript advances the state of machine-knitting research by providing a platform to develop and share complex knitting algorithms, design tools, and patterns. 1

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

its abstract · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Convivial Fabrication: Towards Relational Computational Tools For and From Craft PracticesRitik Batra, Roy Zunder, Amy Cheatle, Amritansh Kwatra et al.CHI 2026 · 3 citations

Related papers

  1. KnitGIST: A Programming Synthesis Toolkit for Generating Functional Machine-Knitting TexturesMegan Hofmann, Jennifer Mankoff, Scott E. HudsonUIST 2020 · 27 citations
  2. KnitKit: a flexible system for machine knitting of customizable textilesGeorges Nader, Yu Han Quek, Pei Zhi Chia, Oliver Weeger et al.SIGGRAPH 2021 · 20 citations
  3. KODA: Knit-program Optimization by Dependency AnalysisMegan HofmannUIST 2024 · 6 citations
  4. Semantics and Scheduling for Machine Knitting CompilersJenny Lin, Vidya Narayanan, Yuka Ikarashi, Jonathan Ragan-Kelley et al.SIGGRAPH 2023 · 16 citations
  5. An Augmented Knitting Machine for Operational Assistance and Guided ImprovisationLea Albaugh, Scott E. Hudson, Lining YaoCHI 2023 · 15 citations
Dusk over the sea between two cliffs drawn in fine vertical lines