A simple PostScript drawing tool
You can draw simple figures in
the following window and then
output PostScript code reproducing what you draw.
Select the current colour with the top panel,
choosing separate red, green, and blue components.
new starts a new path, and sets the
mode to move.
move sets the mode so that
whenever you click in
the graphics window you will get a new starting point for the
line sets line mode for drawing.
Clicking draws a line.
curve sets curve mode for drawing.
Clicking draws a Bezier curve.
It just happens to be a straight line!
But see below
how to modify it.
close closes up the path to its beginning.
stroke actually draws the path.
Up to this it has only a ghostly existence.
After the path has been stroked once, this button toggles
the stroke on (with the current colour) and off.
the path instead of stroking it, also moving it
from the astral to the terrestrial plane.
You can do both to the same curve.
A path can be stroked or filled with different colours later on.
Once a path has been stroked or filled, however,
it cannot be extended.
After the path has been filled once, this button toggles
the fill on (with the current colour) and off.
If stroke and fill have both been turned off, very little
of the path will be displayed, especially if the path is inactive.
delete deletes the last segment of the
path currently under construction,
or the whole active path if it is one of
those already completed.
grid toggles on and off the grid display.
adjust sets adjusting mode, when you can move around
the nodes of the current path with the mouse, and in particular
change Bezier lines into Bezier curves.
print prints out PostScript code in the text window
which will draw what you see in the lower window.
will draw three Bezier lines
and put you in a position to reshape the path.
You can cut and paste to get the code into
The PostScript code does not conform to Adobe's EPS
But it includes
a bounding box description, and
can be inserted into most
applications requiring an EPS file.
All nodes of an active path are displayed, but only the starting
node of inactive ones. An inactive path becomes active if
its starting node is clicked on.