Post Reply 

Any plugin to fill areas with random color?

Jun 1, 2012, 05:15
Post: #1
Any plugin to fill areas with random color?
Hi guys-

I've been scanning the 'Net for a plugin to fill what is probably two-thousand-or-so tiny areas delineated by simple black lines (its a bunch of tiny hexes spread across a rather large area), and I wanted to fill those areas with four different colors, but I wanted it to be a random selection from that palette for each hex...is there any plugin out there that will do that, or am I going to have to do it by hand?
Find all posts by this user
Quote this message in a reply
Jun 3, 2012, 23:09
Post: #2
RE: Any plugin to fill areas with random color?
Attached is the XCF of what I'm trying to do:

I'm trying to fill all those tiny little hexes with a set of colors from a 4-color palette (colors are #182434, #304562, #586e79, #a7b9c7).

I tried using "density-brush-fill" and got a "bad file descrip(tor)" error.


Attached File(s)
.xcf  hex.xcf (Size: 2.05 MB / Downloads: 86)
Find all posts by this user
Quote this message in a reply
Jun 11, 2012, 01:31
Post: #3
RE: Any plugin to fill areas with random color?
(Jun 8, 2012 23:01)ofnuts Wrote:  Hmmm.

That's exactly the look I wanted. And yeah, I have Python installed. Not many plugins are good without it. Wink
Find all posts by this user
Quote this message in a reply
Jun 12, 2012, 05:00 (This post was last modified: Jun 12, 2012 05:04 by SilentWynter.)
Post: #4
RE: Any plugin to fill areas with random color?
I cannot thank you enough.

There's no +1 rep on this forum, is there?

EDIT: Oh look, there is. Right there.
Find all posts by this user
Quote this message in a reply
Jun 13, 2012, 18:34 (This post was last modified: Jun 13, 2012 18:49 by SilentWynter.)
Post: #5
RE: Any plugin to fill areas with random color?
Thanks so much. This is really helpful.

Hm...mayhaps a bit too hasty. I'm getting an error: __init__() takes exactly 12 arguments (11 given)

Probably something I'm doing wrong.
Find all posts by this user
Quote this message in a reply
Jun 13, 2012, 23:56 (This post was last modified: Jun 14, 2012 00:06 by SilentWynter.)
Post: #6
RE: Any plugin to fill areas with random color?
No worries, mate - if I tried my hand at scripting my own plugin it'd be far, far worse. I appreciate the time you spent on this.

New error message: "could not get pixel (0, 1600) on drawable (ID 529)".
Find all posts by this user
Quote this message in a reply
Jun 14, 2012, 22:32
Post: #7
RE: Any plugin to fill areas with random color?
Right, I understand that part...but that doesn't help solve the error. The options given in the plugin are for origin only. Are you suggesting I should start at coordinates (1,1) instead?
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  GIMP Resynthesizer Plugin not working Mikkel Andersen 1 315 Jun 26, 2018 16:36
Last Post: paynekj
  Gimp 2.10 with old vignette from Plugin registry. DenisT 2 237 May 19, 2018 20:42
Last Post: DenisT
  Export Layers Plugin not working with 2.10? Imc7r 2 274 Apr 30, 2018 14:22
Last Post: Imc7r
Question beautify plugin ! i can not install it! unknown7 3 482 Feb 12, 2018 21:02
Last Post: unknown7
  Separate+ plugin doesn't show NathanD 5 4,946 Jan 28, 2018 20:44
Last Post: janrich

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS