The Art of the Travelling Salesman Problem

posted by Jason Kottke Nov 21, 2019

TSP Portraits

TSP Portraits

All art is bounded by one constraint or another. Mathematician Robert Bosch makes what he calls "optimization art", which is best embodied by these images produced as solutions to the travelling salesman problem. Each image is made up of a continuous line that is the shortest possible route through a series of points without revisiting any single point, much like the optimal route of a travelling salesperson visiting cities. The rendition of a van Gogh self-portrait uses a solution for 120,000 "cities" while the single line forming the Girl with the Pearl Earring visits 200,000 cities.

I would love to see an Observable notebook where you could upload any photo to make images like these. (via @Ianmurren)