Curve Stitching and Mary Everest Boole
String art has its origins in the "curve stitch" activities invented by Mary Everest Boole at the end of the 19th century to make mathematical ideas more accessible to children. Boole, the wife of logician George Boole, was a self-taught mathematician who constructed straight-line envelopes by stitching colored thread through a pattern of holes pricked in cardboard. Although every line is straight, the eye of the observer picks out a phantom curve, or "envelope." She was born in 1832 and died in 1916. [Wikipedia, String art] [Futility Closet, Curve Stitching] [IGI Global, String Art: Linear Iterative Systems] [UEN Pressbooks, Mary Boole and String Art]
From Classroom Exercise to Decorative Craft
The technique was popularised as a decorative craft in the late 1960s through kits and books. In its decorative form, thread is wound around nails driven into a board, and the geometry of the crossing lines produces shapes such as parabolas, which can also be understood as quadratic Bezier curves. [Wikipedia, String art]
The 2016 Turning Point
A computational form of string art that can produce photo-realistic artwork was introduced by the artist Petros Vrellis in 2016. His work showed that a single thread looped thousands of times around a ring of pins can reconstruct an image with surprising fidelity. The 2022 Bridges conference paper on greedy string art notes that Vrellis was the first to propose an algorithm for computational string art, and that the first scientific paper on the topic appears to have appeared in 2018. [Demoussel et al., Bridges 2022] [Hachnochi, Algorithmic String Art]
A Hard Discrete Optimization Problem
Birsak, Rist, Wonka, and Musialski gave the first formal treatment of the problem in "String Art: Towards Computational Fabrication of String Images" (Computer Graphics Forum, vol. 37, no. 2, pp. 263-274, 2018). Their goal was to compute a string path around the given pins so that the result resembles a grayscale input image, using a single string without cutting it. They observed that relaxing the string-segment selection was possible, but proposed an iterative greedy algorithm that clearly outperforms the relaxed version in practice. They also described a robot setup that spans the strings automatically. [Birsak et al., 2018, DOI 10.1111/cgf.13359] [Preprint, TU Wien]
The Greedy Approach
A greedy method minimizes the error for the current step only, then continues from there. To make physical weaving practical, each new line is required to start at the nail where the previous line ended, so the whole piece is one continuous thread. Demoussel, Larboulette, and Dattatreya (Bridges 2022, pp. 63-70) focus on the heuristic used to pick the next line, and add a stopping condition and support for non-opaque strings. A 2024 University of Mississippi thesis reports that an early Hough-transform approach ran into computational cost and edge-detection problems, and that switching to a greedy algorithm that iteratively reduces the pixel-intensity difference improved both quality and efficiency. [Hachnochi, 2025] [Demoussel et al., Bridges 2022] [University of Mississippi thesis, 2024]
What This Page Does
This tool's own implementation follows the greedy idea. The photo is converted to an "ink map" (how much thread should cover each pixel). Starting from a pin chosen by the seed, it tests every allowed pin as the next stop and scores each straight line by the average remaining ink demand along it. The best line is added, its opacity is subtracted from the remaining demand, and the process repeats from the new pin until it reaches the line limit or no line improves the picture. Every pin pair is used at most once. This description is of this page's code, not a claim about any published method.
Using the Output
The Instructions file lists the pin to tie on to, then each step as "from pin, to pin," with pins numbered clockwise starting at 12 o'clock. The Pin Template SVG is drawn at your chosen board diameter in millimeters, so printing it at 100% scale gives you a nail-position guide. Estimated thread length is the sum of all straight chords across the board, so buy somewhat more than shown to allow for wrapping around nails.
Practical Notes
These are general craft tips rather than findings from a cited study. Thin dark thread on a pale board gives the clearest portraits; the "light thread on dark" mode inverts the ink map and suits white thread on a black board. More pins give finer detail but make nails crowd together, so check the pin spacing shown in the instructions against your nail size. Thread opacity here is a modeling parameter: lower values make the algorithm lay more lines to reach the same darkness, which looks smoother but takes longer to weave.
Limits of the Model
Real thread has width, tension, and wraps around nails, none of which are simulated precisely. The preview is a close approximation, and the physical result will look somewhat different. Because the thread must be continuous, published work treats the single-string requirement as a core constraint of the problem, and this tool honors it. [Birsak et al., 2018]