**String art is a technique for the creation of visual artwork where images emerge from a set of strings that are spanned between pins. Now, at TU Wien (Vienna) this work can be delegated to a robot - an example of a complex task that digital fabrication can solve. **

At TU Wien (Vienna), this kind of creation of artistic images has now been automated: the computer calculates the optimal thread path from an arbitrary given image and an industrial robot then takes over the job of arranging the thread.

Countless possibilities

Countless possibilities

"From a scientific point of view, this is a very interesting problem because it is particularly difficult to solve," says Przemyslaw Musialski from the Institute for Discrete Mathematics and Geometry at TU Wien. In general, a picture cannot be exactly reproduced in this way - after all, the thread method cannot be used to set individual pixels, but only to draw continuous lines. It is therefore necessary to find the best possible approximation.

This is a challenge: the number of different ways to span a thread between a larger number of hooks is astronomical. It is completely impossible to try all conceivable variants. "This task belongs to the so-called NP-hard problems," says Musialski. "This is the class of computing problems that cannot be solved accurately by computers in a reasonable amount of time."

To create the image, a circular frame with 256 hooks is used. "Our calculations have shown that increasing the number of hooks any further improves the final result only marginally," says Przemyslaw Musialski. The thread may be stretched from the right or left side of each hook to the right or left side of any other hook. This way, even with only about 30 threadlines, there are more possible variants than there are atoms in the observable universe - and in order to reproduce a recognizable picture, a much larger number is required. Therefore, it was a great challenge to find an algorithm to compute a path for the thread to reproduce a given image as accurately as possible.

**However, the mathematical solution to the problem was not enough for the research team. The goal was to produce true "string art" in a fully automated manner. A high-precision industrial robot was used to span a single long thread across 256 hooks in order to create circular string art images with a diameter of 63cm. Even the industrial robot cannot complete this task in a jiffy: Depending on the image, the production takes 2-5 hours and requires between 2 and 6 kilometers of thread.**

The Robot Thread Artist

The Robot Thread Artist

"Even though our robot produces pretty pictures, our work is of course not an art project," says Przemyslaw Musialski. "Ultimately, we want to show how particularly difficult technical problems can be solved. In the String Art project, we work with methods that will play an important role in digital fabrication in the future."

**Original publication:**https://onlinelibrary.wiley.com/doi/10.1111/cgf.13359