Color TSP art

From Evil Mad Scientist Wiki
Revision as of 17:53, 3 October 2010 by Dnewman (talk | contribs) (Created page with "== Introduction == While yet to be proven a viable Eggbot art form, our adventures with TSP art need not end with monochrome imagery. By separating a color image into its cyan,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

While yet to be proven a viable Eggbot art form, our adventures with TSP art need not end with monochrome imagery. By separating a color image into its cyan, magenta, yellow, and key (black) components, and then treating each component as a separate image to generate TSP art for, we can produce a color likeness of the original image by recombining the four pieces of TSP art.

The basic plan of attack is then

  1. Using an image editor which understands the CMYK color spaces such as Adobe Photoshop, change your image's color model to CMYK.
  2. Save each color layer in a separate file using a bitmap format understood by Gimp (e.g., TIFF).
  3. In Gimp, produce stippled images for each color layer as per Producing a stippled image with Gimp.
  4. Generate TSP art for each stippled color layer using some special command line options for tspart.py.
  5. Combine the TSP art files for the four layers into a single SVG file.

Color separation

Stipple each color layer

Generate TSP art

Combine into a single SVG file