Advanced stippling

From Evil Mad Scientist Wiki
Revision as of 09:22, 29 September 2010 by Dnewman (talk | contribs)
Jump to: navigation, search

<<< Generating TSP art from a stippled image || Advanced stippling

vstippling.png


Unfortunately, there is very little in the way of ready-to-use software packages or plugins for automatically producing stippled images. While tutorials exist, they largely focus on reproducing a specific style of stippled art work (e.g., Hedcut). Such techniques tend to be inappropriate to TSP art as they lack control over the number of stipples used. And, too many stipples leads to artwork which is too detailed for pen tips. Existing software which affords control over the number of stipples tends to be "research grade". That is, the software's primary design goal was not that of ease of use, clarity, or robustness. With that in mind, OS X and, maybe, Windows users as well, have the option of trying out Adrian Secord's weighted Voronoi stippler [1].

In the course of his researches, Adrian Secord wrote a program for producing weighted Voronoi stipplings of computer image files. Secord's program allows control of the number of stipples used as well as their diameters. See Secord's NYU research website for informtion on downloading this program,

http://mrl.nyu.edu/~ajsecord/stipples.html

What follows are some simple notes on using this program.

  1. After you open an image file, it may take a while before any stippled image appears. It sometimes helps to nudge things along by selecting "Relax Points" or "Jitter" under the "Points" menu item.
  2. You can control the number of stipples with the "Set num..." item under the "Points" menu.
  3. The program will run for quite some time while seeming to not be doing anything. It's actually trying to refine the picture it has drawn. You can go ahead and tell it to save its work while it is working on its refinements.
  4. When you have a stippling you like, use the "Save Points" item under the "File" menu. This will write a file containing (x,y) coordinates of each point and their radii. The tspart.py script can read these files as input files. No special options need be set when running tspart.py: it automatically detects the file format.
  5. If you start seeing blue stipples, that means that you're allowing more stipples than needed. You can decrease the number of allowed stipples.
  6. On OS X, when you exit the stippler it tends to exit ungracefully [2].

Notes

[*] Stippled images generated with Adrian Secord's weighted Voronoi stippler.
[1] As sources are available for Adrian Secord's stippler, it's possible that the code can be built on Linux as well. Some very minor changes are needed to appease more recent versions of gcc. Contact the original author of this article for a run-down of the few minor edits needed.
[2] Adrian Secord himself points out that the software is "research code". So remember that Secord's focus was not on producing a polished product but rather in accomplishing his own research goals. The author of this wiki article has rebuilt the software on OS X 10.6 and found the issue to persist. The binary version of the program available from Adrian Secord was built with OS X 10.5 but it does run on OS X 10.6.


<<< Generating TSP art from a stippled image || Advanced stippling