PDA

View Full Version : GIMP Stroke Path with Taper plugin



ijontichy
10-25-2009, 10:49 PM
I have created a GIMP plugin that strokes a path with a taper (i.e. it creates a line with a start width and an end width, rather just a constant width). I was aware that our esteemed member, RobA (http://www.cartographersguild.com/member.php?u=768), had already created (http://www.cartographersguild.com/showthread.php?p=32810) such a plugin (script, actually), but my plugin has some extra options, such as fill style (color or pattern) and line style (cap/join styles).

The following image was created by making a path, then stroking it twice with my plugin using different colours and widths. I think the second stroke was 1.3 pixels thinner. So obviously, rivers are the main use for a plugin like this. But I guess you can also make lightning strokes as well.

http://www.ludicity.org/images/taper_demo.png

A preview of the settings available is here. (http://www.ludicity.org/images/taper_settings.png)

My next plugin will be a Voronoi diagram (http://en.wikipedia.org/wiki/Voronoi_diagram) generator. A lot of board game maps divide things up into irregular polygon regions, and Voronoi diagrams are a pretty easy way of doing this. If you have any ideas for GIMP plugins that would be useful for cartography let me know.

Ascension
10-25-2009, 11:59 PM
Very nice. Looks handy and flexible and has a nice result.