Single-Line Drawing Generation via Semantics-Driven Optimization

Tanguy Magne, Alexandre Binninger, Ruben Wiersma, Olga Sorkine-Hornung
6/1/2026
cs.GRcs.CV

Official code: tanguymagne/SLDgen (18 stars, Python, MIT, last commit 2026-06-02).

Abstract

Line drawings are a highly expressive art form that requires the artist to abstract and distill the essence of their subject. We present the first semantics-driven method for automatically generating single-line drawings in vector format, guided either by a text prompt describing the concept or an input image depicting it.

Show full abstract

Our approach leverages score distillation sampling to optimize the parameters of a uniform rational B-spline (URBS) curve, ensuring that the drawing consists of a single continuous stroke by design. This representation provides fine-grained control over the level of detail, while additional loss terms allow us to steer the final artistic style. We demonstrate that our method outperforms state-of-the-art text-to-image models and optimization pipelines for this task, producing results that are both more aesthetically pleasing and more faithful to the style of continuous line drawing artists. Furthermore, because our method generates a vectorized curve, it directly supports downstream fabrication processes such as embroidery, laser engraving and wire bending. Our code and results are available at https://github.com/tanguymagne/SLDgen.

View on arXivView PDF

Code Implementations(1)

tanguymagne/SLDgenOfficial100%
MIT

Official repo for the paper "Single-Line Drawing Generation via Semantics-Driven Optimization "

183Python, ShellMay 26, 20266 months agoMIT

Similar Papers

Cite this paper

@article{magne2026singleline,
  title  = {Single-Line Drawing Generation via Semantics-Driven Optimization},
  author = {Tanguy Magne and Alexandre Binninger and Ruben Wiersma and Olga Sorkine-Hornung},
  year   = {2026},
  eprint = {2606.01910},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.01910v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.01910.svg)](https://codeofpaper.com/paper/2606.01910)

Discussion