The Travelling Salesman Portrait
After completing this experiment you will be able to create one line drawing from your favorite images. Resulting drawings are obtained using an algorithm to solve The Travelling Salesman Problem (TSP).
For example, if you load this image:
The resulting portrait is this one:
You will need to install the following packages (if you don't have them already):
install.packages("imager") install.packages("dplyr") install.packages("ggplot2") install.packages("scales") install.packages("TSP")
A complete explanation of the experiment can be found at fronkonstin
- Antonio Sánchez Chinchón - @aschinchon