An experiment in R to convert photos into single-line-drawings
Switch branches/tags
Nothing to show
Clone or download
Latest commit bcf3a60 Apr 25, 2018
Permalink
Failed to load latest commit information.
.gitignore First commit Apr 4, 2018
LICENSE Create LICENSE Apr 24, 2018
README.md First commit Apr 4, 2018
frankenstein_TSP.R Simpler way to reorder points Apr 21, 2018

README.md

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:

Getting Started

Prerequisites

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")

More info

A complete explanation of the experiment can be found at fronkonstin

Authors