This script will construct either a hexagonal or triangular grid. It's a kind-of follow-up script to the circular grid one I made a bit earlier. (If you wanted that one instead, look here: http://registry.gimp.org/node/25206)
You choose the size of the image, and the length of side of the shape. The shapes can be filled with up to six different colors, a white background, transparent, or completely random colors. There is also an option to set up the grid so that it will tile seamlessly. I've attached a picture showing a hexagonal tiling grid generated with this script.
The hexagons are regular ones, and the triangles are equilateral. The script will appear in the Filters/SambrookJM menu, but this can be changed by editing the appropriate line in the script.
I'm sure there will be lots of things I didn't even think of while making this script. Feel free to post any ideas, comments or questions you have. If I"m able to, I'll add them to the next version of the script.
Updated script - There was an error in the script that would show up if you used less than six colors. That has been fixed now, and the new script has been updated. Still working on the uniform coloring and the anti-aliasing.