Watch a robot create amazing string art portraits with thousands of feet of yarn

String art is one of those deceptively simple things: Crisscross string back and forth between tiny nails hammered into a board until they form a recognizable image. At the simplest levels, it’s possible to create attractive geometric patterns. If you’re more expert, you can create full-on detailed portraits. It’s a challenging process that takes a whole lot of time, and a massive amount of human skill — until now, that is.

That’s thanks to researchers from TU Wein, one of the major universities in Vienna, Austria. They have created an algorithm that allows an industrial robot to create these images for itself. Just show it any arbitrary image, and the robot will then figure out the optimal thread path to accurately re-create it in thread art form.

“Our framework takes an image as input and delivers a fabricated piece of string art as output,” Michael Birsak, one of the researchers on the project, told Digital Trends. “The main goal is to reassemble the given image as accurately as possible using one continuous piece of textile thread. In our setup, we use an aluminum bicycle rim for the frame, together with 256 pins. While it is quite easy to create a simple geometric pattern by spanning the thread between the pins, reassembling the portrait of a person is particularly difficult because it is not possible to address the single pixels of the input image by moving the thread around. Therefore, the goal is to find a good approximation. One could naively try out all possible combinations, but this would take forever, since with 256 pins, there are more combinations than atoms in the universe.”

The algorithm takes several hours to work out its solution and then another few hours to create it — since each portrait can consist of up to 19.6 thousand feet of thread. Completed portraits include a picture of a cat, a portrait of Albert Einstein, and an image of pioneering programmer Ada Lovelace.

While there have been some tremendous examples of computation creativity we’ve covered in the past, Birsak said the aspect of the project the team was most excited about was crafting an optimal routing algorithm. This is the kind of thing more commonly associated with problems like finding the most efficient order to deliver packages or dispatch taxis. “Our main goal was not to produce art, but to focus on the mathematical challenges of the problem and how it can be solved in a scientific way,” he said.

A paper describing the work was recently published in the journal Computer Graphics Forum.

Emerging Tech

JackRabbot 2 is Stanford’s friendly new campus-roaming social robot

JackRabbot 2 is a robot developed by researchers at Stanford University -- designed to navigate around the campus, while carrying out friendly interactions with the humans around it.
Mobile

Here's the Samsung Galaxy S9's new Android 9.0 Pie interface

The Samsung Galaxy S9 and Galaxy S9 Plus are here. The flagship devices boast some awesome new features and a powerful new processor. Here's everything you need to know about these Samsung phones.
Emerging Tech

Crazy vending machine swaps computer art for your permanent selfie

Coder artist Matthias Dörfelt's camera-equipped vending machine swaps unique prints of computer-generated faces for the rights to upload your selfie onto the main Ethereum blockchain.
Emerging Tech

Neural networks? Machine learning? Here's your secret decoder for A.I. buzzwords

Don't know your machine learning from your evolutionary algorithms? Worried every time you sit on a bus in case Google's Larry Page sits down next to you with a pop quiz? Our handy A.I. buzzword guide is here to help.
Emerging Tech

Giant wind farm in Morocco will help mine cryptocurrency, conserve energy

One of the windiest parts of Morocco is set to get a $2 billion wind farm power plant, which could help power eco-friendly cryptocurrency mining in a more environmentally friendly way.
Emerging Tech

Robots are going to steal 75 million jobs by 2025 — but there’s no need to panic

According to the World Economic Forum, robots and A.I. will take 75 million jobs from hardworking humans by 2025. That's the bad news. The good news is that they will create far more jobs than that.
Emerging Tech

An A.I. is designing retro video games — and they’re surprisingly good

Researchers from Georgia Tech have demonstrated how artificial intelligence can be used to create brand-new video games after being shown hours of classic 8-bit gaming action for inspiration.
Deals

Cyber Monday 2018: When it takes place and where to find the best deals

Cyber Monday is still a ways off, but it's never too early to start planning ahead. With so many different deals to choose from during one of the biggest shopping holidays of the year, going in with a little know-how makes all the…
Smart Home

Amazon might open 3,000 cashier-free Amazon Go stores by 2021

According to new reporting by Bloomburg, anonymous sources within Amazon say that CEO Jeff Bezos is considering opening up to 3,000 of the company's cashier-less, experimental Amazon Go stores by 2021.
Emerging Tech

Wormlike motion sculptures show how athletes move in 3D

Researchers at MIT have developed a system that offers athletes a unique way to visualize their bodies in motion. An algorithm scans 2D videos of a person in motion, and generates data points that can be 3D-printed into "motion sculptures."
Emerging Tech

Harvard’s soft robotic exosuit adapts itself to the needs of every wearer

Harvard engineers have developed a new multi-joint, textile-based soft robotic exosuit, designed to help soldiers, firefighters, and other rescue workers. Here's what makes it so exciting.
Emerging Tech

These flying cars want to take your commute to new heights

The future is closer than you'd think: Companies around the world are working on flying car models, with many successful tests! Here are all the flying cars and taxis currently in development, and how they work!
Computing

Tap Strap wearable keyboard gains support for VR applications

TAP System's wearable keyboard gains support for virtual reality, now compatible with Windows Mixed Reality, Oculus Rift, and HTV headsets. Type and tap for up to eight hours in VR without needing to look at a physical keyboard.
Emerging Tech

Robot jellyfish could be used to patrol fragile coral reefs

Could schools of robotic jellyfish soon be patrolling the world’s oceans, monitoring fragile environments such as coral reefs? A team of United States researchers certainly thinks so.