Several times I have seen techniques in PhotoShop that use brush dynamics to taper a stroke. Unfortunately GIMP doesn't have this capability (yet...but it is rumoured for 2.6) so I wrote a little script-fu to do it!
A warning up front... it ain't too fast, but it works. Using the script is straight forward.
Draw a path using the pen tool, then switch back to the paintbrush tool. You need to select the paintbrush tool as the script strokes with the active tool, so you could even, for example, "erase" tapered strokes. The script registers under the Edit menu as "Tapered Stroke Path..."
The dialog allows you to select the start width, end width, spacing (20 percent is a good default, but by setting it to 100 you get a string of pearls effect), and a parameter called "Taper Exponent". This control the rate of taper. At 1, the taper is linear from the start to the end. At values less than 1 the taper changes faster, and greater than 1 the taper changes slower (nearer the end). The default is 5, which seems good for drawing rivers on a map (what I designed it for).
Here is the result after stoking in black with the defaults. I have turned on the path visibility to show how it lines up:
Couple of things... It will only stroke the first segment of a multi (broken) segmented path. If there are no paths, the script will run but error out.
Download the script here. Hope people find this one useful!
-Rob A>
Previously, I had developed a small script to take an image and turn it into a GIMP gradient. This was mainly due to my desire to convert some of these tonal gradients into actual GIMP gradients. This script was posted to the gimp-plugin[?] repository b
Tracked: Oct 08, 10:22