convert the image
convert the image
We bring the image to be drawn in (png, .jpg, .tga, .gif, .PNG, .JPG, .TGA) format, it must
.be of high accuracy and contain sufficient black-and-white coordination
Using the StippleGen 2 program, we insert the image into the program screen as shown in
the picture.
To load a new image file, click the "Load Image File" button that is located above the "save"
buttons. You can open any image file in .png, .jpg, .tga, or (non-animated) .gif formats. The
file name must end in one of the following: .png, .jpg, .tga, .gif, .PNG, .JPG, .TGA, or .GIF.
As soon as a new image is loaded, StippleGen will "sprinkle" an initial weighted distribution
of points over the image and then begin to calculate an initial Voronoi diagram from those
points. During this process, you will see something like the image shown above, which is the
set of Voronoi cells for the initial point distribution. Depending on the number of stipples
.being calculated, this may be a matter of moments or minutes
After the initial Voronoi diagram is calculated, StippleGen will display the stipple locations
that it has calculated. This "first guess" is usually quite crude— as you can see above — and
will improve dramatically as you allow StippleGen to run for a while.
Aside: The calculation of the stipple point locations through Secord's algorithm is an
iterative process. For any given "generation," the process begins with an initial set of points
— whether that's the initial set of "sprinkled' points, or the output from the previous
generation. The Voronoi diagram of those points is then calculated, and each point is moved
to the weighted centroid of its Voronoi cell. That distribution of points then serves as the
starting point for the subsequent generation.
Primary Controls
Stipple Color:
StippleGen can create stipple drawings either with black dots on a white background or
white dots on a black background. By default, StippleGen will begin drawing with black
stipples on a white background. This is usually the best choice for working with images that
are predominantly light in color.
To toggle between the two color schemes, press the wide button underneath the stipple-count
slider, labeled with the current color scheme (typically "BLACK STIPPLES, WHITE
BACKGROUND"). Pressing this button will switch the color scheme and restart the
calculation from the beginning, as though you had just loaded a new file. Also, if you wish to
restart the calculation for any reason, pressing this button twice is a good way to do that.
Display Options
The display options change how (and even, whether) the stipples are displayed, but do not
actually affect their positions. These can be changed at any time without harming the stipple
calculation, however, the results may not be visible (or fully applied) until the next
generation is displayed.
Let's begin with a nicely optimized corn plant stipple drawing, with 10,000 stipple points.
(At this stage we do not have any white cutoff.)
For this path, we've used the white cutoff to hide the background and allowed it to run for a few more minutes. This
path probably won't get much better, so it's a good time to save the TSP path file. There are some little defects, but
.we're probably better off opening up the file in Inkscape at this point to edit away the bad path segments by hand
File Format
The file is saved as an Inkscape SVG file that can be he superb (and free) vector graphics editor, or other
applications that can open and edit Inkscape SVG files.
While the SVG file can be modified to your heart's content and subsequently saved in a wide variety of
formats, the SVG file is initially formatted the drawing is centered in a document that is 3200 × 800 pixels,
so that it can be used (without modification) as input for an