Maker · Tinkering · Useless Tools
String Art
Turns a picture into a thread path around a ring of pins, with a real-size PDF for winding the physical piece.
Key takeaway: The pattern is quick to compute. Winding the physical piece takes days, so that part is waiting for a quieter time.
A star rendered with 150 pins and 846 lines. The tool stopped early because no further line improved the picture (2000 were requested).
What it does
- Pins and lines: up to 500 pins around a circle, and a line budget (2000 in the screenshot), with pin numbers shown on the ring.
- Picture controls: contrast, sharpness, thread width, and an option to remove a white background.
- Real size: set the diameter in cm (30) and the print resolution in DPI (200); the tool shows the export size in pixels (about 2362).
- Outputs: a real-size PDF, a print preview, and the path as text.
- Stops by itself when no further line improves the picture.
Built with
A single HTML page with JavaScript for the interface and rendering, and Python in the same folder (the repository lists “HTML/JS + Python”). The file in the screenshot is string-art-pro-v4.html, opened straight from disk.
Status and limits
| Item | Status |
|---|---|
| ✅ | Pattern, preview and PDF export work |
| ☐ | The physical piece has not been wound yet: it needs days of thread work |
| ⚠️ | Personal toolbox, not a maintained package: expect rough edges |
Get it
This tool on GitHub · whole Useless Tools repository · Zenodo archive (DOI 10.5281/zenodo.23153751). Each tool in the repository is independent, with no shared setup. Check the script or its requirements.txt, where there is one, for the dependencies.