Generating TSP art from a stippled image

From Evil Mad Scientist Wiki
Revision as of 17:09, 27 September 2010 by Dnewman (talk | contribs) (Created page with "== Introduction == == Preliminaries == At this point, you should have a .pbm or .pts file containing the stippling information for the image you are working with. Without this...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

Preliminaries

At this point, you should have a .pbm or .pts file containing the stippling information for the image you are working with. Without this information, you cannot proceed. See

Producing a stippled image with Gimp

for further details.

Also, you must already have installed a copy of Concorde TSP's linkern executable. See

Obtaining a TSP solver

for directions.

Finally, you need to obtain the latest versions of the following three files,

  • tspart.py
  • tspbitcity.py
  • tspsolution.py

These three files are hosted at the Eggbot code site,

http://code.google.com/p/eggbotcode/downloads/list

Download the lastest version of the tsp_art_tools zip file, tsp_art_tools_x_y.zip. After you unzip that file, you will see those three files within it. Copy those files to a convenient work directory.

Notes for Window users