IMG · Images tools

String Art Generator

Physical string art stretches a single dark thread between nails on a circular frame until the overlaps form a portrait. The generator solves the same puzzle digitally. It converts the photo to a darkness map, then repeatedly asks: from the nail the thread is on now, which chord across the circle would cover the most remaining darkness? It draws that chord, subtracts its contribution, and continues from the new nail.

No single line means anything. The image emerges from accumulation, which is why the result reads as a drawing from across the room and as an abstract web up close.

Getting a strong portrait

The solver only has straight, semi-transparent lines to work with, so contrast is everything:

  • Square-crop to the face before uploading. The circle inscribed in your photo is the whole canvas.
  • Prefer directional lighting. A face lit from one side gives the algorithm real darkness to chase.
  • Busy backgrounds compete with the subject; plain or blown-out backgrounds vanish on the board.

Nails around 220 and 2000 to 3000 thread passes render most portraits. Thread Opacity is the exposure control: lower it if features clog into black, raise it for a denser, darker image.

Dark board, light thread

Thread and board colors are free. When the thread is lighter than the board, the solver automatically inverts its target and chases brightness instead of darkness, so white thread on a near-black board produces the classic gallery look. The photo’s highlights, not its shadows, become the drawing.

Building it for real

The nail sequence export turns the render into a plan. It is a plain text file: the nail count, then one nail number per line in the order the thread visits them, clockwise from the top. The hint under Thread Passes estimates the total thread length as a multiple of the frame diameter, so a 60cm ring at 480 diameters needs roughly 290m of thread. Wrap without cutting; the whole portrait is one piece of string.

Frequently Asked Questions

Nails are placed evenly around a circle. A greedy algorithm then draws one continuous thread: at every step it tests each possible chord from the current nail and picks the one that covers the most remaining darkness in the photo. Thousands of overlapping semi-transparent lines build up the shading.

High-contrast portraits and single subjects against a plain background. The algorithm can only shade with straight lines, so soft, low-contrast images produce a muddy web. Raising the photo's contrast before uploading helps more than any slider here.

Yes. The nail sequence download lists every nail the thread visits in order, numbered clockwise from the top of the frame. Mark the nail positions on a wooden ring, hammer in the pins, then wrap a single thread following the list. The chord count and estimated thread length appear under the Thread Passes slider.

Nails sets the resolution of possible angles; 200 to 260 suits most portraits. Thread Passes is how many chords the thread draws. Too few leaves the image faint, and past a few thousand the gains flatten out because new lines start crossing already-dark areas.

The thread can only travel between nails on the frame, so only the inscribed circle of your photo gets shaded. Square-crop the photo around the subject before uploading so nothing important sits in the corners.

Explore Our Tools

Browse all tools