Alexis Mabanza @ alexvolkihar.ovh

Threads

String art between nails on a board

Nails are set round a circle, a square, a polygon or two concentric rings, and thread is stretched from nail to nail. In a times table, nail i is tied to nail k·i, and the straight threads wrap a cardioid, a nephroid or a rosette. In a curve stitch, every thread skips the same number of nails, give or take a little, and the threads trace parabolas in the corners or caustics in a ring. A layered board overlays two or three of these in different threads. A greedy image is one long thread that goes, nail after nail, wherever the figure is still missing thread, until a sphere, a crescent, an eclipse, mountain peaks or a spiral appears. The board is birch, walnut, velvet or linen. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0xbe3e88fe…8514
Frame Twin ringsPattern LayeredPalette Midnight velvetNails Regular
0x73c511de…af8d
Frame CirclePattern Curve stitchPalette Oxblood velvetNails Sparse
0xa0df6ffc…052a
Frame Twin ringsPattern Greedy imagePalette WalnutNails Regular
0x3c5950b4…686d
Frame PolygonPattern Curve stitchPalette BirchNails Sparse
0x5f17a63b…0828
Frame CirclePattern Times tablePalette BirchNails Dense
0x76fd0741…4aaf
Frame Twin ringsPattern Times tablePalette Oxblood velvetNails Dense
0xe26ee4b7…0db0
Frame SquarePattern Times tablePalette Oxblood velvetNails Sparse
0x5129fb03…8dc3
Frame SquarePattern Curve stitchPalette Oxblood velvetNails Regular
0xf0341ab2…17dd
Frame Twin ringsPattern Curve stitchPalette BirchNails Regular
0xbacfa005…116d
Frame PolygonPattern Greedy imagePalette WalnutNails Regular
0xa4ec4fac…c6c9
Frame CirclePattern LayeredPalette WalnutNails Dense
0x4ee0c37e…80dc
Frame SquarePattern Greedy imagePalette Oxblood velvetNails Sparse

Traits

The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.

TraitValues (weight)
FrameCircle 35 · Square 20 · Polygon 25 · Twin rings 20
PatternTimes table 30 · Curve stitch 25 · Layered 20 · Greedy image 25
PaletteBirch 24 · Walnut 22 · Midnight velvet 20 · Linen 18 · Oxblood velvet 16
NailsSparse 25 · Regular 50 · Dense 25

Credits

  • Times tables: joining point i to point k·i on a circle of n points, a classic of recreational mathematics, popularised by Mathologer’s video Times Tables, Mandelbrot and the Heart of Mathematics (2015). The envelope of the chords is an epicycloid with k − 1 cusps: the cardioid for k = 2, the nephroid for k = 3.
  • Curve stitching: straight threads whose envelope is a curve, taught to children by Mary Everest Boole in the early 1900s (The Preparation of the Child for Science, 1904) and the origin of string art as a craft.
  • Greedy images: in the manner of Petros Vrellis’s A New Way to Knit (2016), whose own algorithm is unpublished. From the current nail the thread goes to the nail whose line still covers the most darkness, that darkness is partly removed, and the search starts again. It is studied as a discrete optimisation by Michael Birsak, Florian Rist, Peter Wonka and Przemyslaw Musialski in String Art: Towards Computational Fabrication of String Images (Computer Graphics Forum 37(2), 2018). Here the targets are procedural figures, never photographs, computed on a small fixed grid so that a hash gives the same thread path at any size.
  • The wood grain, velvet and linen are drawn from integer hashes of each grain line or yarn, so a wider canvas shows more of the same board. The palettes are original.
  • Randomness: sfc32 by Chris Doty-Humphrey, seeded from the hash with named sub-streams, following Camille Roux’s genart skill (MIT).
  • The code was written with an AI assistant. It draws everything itself: no AI-generated images.

Artworks © Alexvolkihar, licensed CC BY-NC-ND 4.0. Code under the repository licence (MIT).


>