I wrote a couple of scripts as the request of a user at the gimp plugin registry to aid him in coloring lineart.
The one script (multifill) takes every area of the specified colour and fills it with a random colour, or a colour from a selected palette.
The second script (flatten, or an option on the multifill script) causes the colour to grow out, eliminating the drawing strokes.
The idea is that it gives different colored areas that can easily be selected (using the magic wand tool) for coloring, gradients, filling, etc on a layer under the lineart.
I was paying with Ascensions city script, and realized it could be used to randomly fill roofs/buildings with colours from a palette, for example, there is a palette called "bears" in gimp that is made of mostly browns.
Here is the source image:
pattern.jpg
and after running multifill with the bears palette:
pattern_mf.jpg
Now with a better palette, you could create nice shades of roofs/buildings....Using random colours then desaturating you would get a nice random heightfield...
(I warn you, it is slow if you have many small areas.....I think I should port it to python...)
You can download the script here:
http://registry.gimp.org/node/14051
-Rob A>
My tutorials: Using GIMP to Create an Artistic Regional Map ~ All My Tutorials
My GIMP Scripts: Rotating Brush ~ Gradient from Image ~ Mosaic Tile Helper ~ Random Density Map ~ Subterranean Map Prettier ~ Tapered Stroke Path ~ Random Rotate Floating Layer ~ Batch Image to Pattern ~ Better Seamless Tiles ~ Tile Shuffle ~ Scale Pattern ~ Grid of Guides ~ Fractalize path ~ Label Points
My Maps: Finished Maps ~ Challenge Entries ~ My Portfolio: www.cartocopia.com
My Finished Maps
Works in Progress(or abandoned tests)
My Tutorials:
Explanation of Layer Masks in GIMP
How to create ISO Mountains in GIMP/PS using the Smudge tool
----------------------------------------------------------
Unless otherwise stated by me in the post, all work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.
Yeah thats very good. I needed something like that the other day when I had millions of houses and had to fill them in with one of several colors as an index into which roof type. Couldn't think of an easy way to do that so had to do it manually.
If you want the gradient to be the same on each one, just draw one and tile it.
If you want the gradient to be different on each one, I've just modified my script
randomgrad.png
And then had to run my thatching script on this just to see the results (dialed up to 36 faces...) and using the boring "cracked mud" pattern that comes with gimp, keeping the softlight layer:
randomgrad_thatch.png
And then with a quick embossed grid in hardlight on top:
randomgrad_thatch_grid.png
Oh yeah - attached is the modified script. It now creates a new image to work on with undo disabled. This uses much less memory, and is significantly faster if the "Hide While Processing" option is checked.
[EDIT - before I posted I realized that my comment on tiling a gradient in one direction only works for regular shapes, so I added an option for a gradient all in one direction, too]
Here is a bonus seamless tile I made with the gradient directional:
tile.png
-Rob A>
My tutorials: Using GIMP to Create an Artistic Regional Map ~ All My Tutorials
My GIMP Scripts: Rotating Brush ~ Gradient from Image ~ Mosaic Tile Helper ~ Random Density Map ~ Subterranean Map Prettier ~ Tapered Stroke Path ~ Random Rotate Floating Layer ~ Batch Image to Pattern ~ Better Seamless Tiles ~ Tile Shuffle ~ Scale Pattern ~ Grid of Guides ~ Fractalize path ~ Label Points
My Maps: Finished Maps ~ Challenge Entries ~ My Portfolio: www.cartocopia.com