Iota16

Filling different regions each with a unique color

Recommended Posts

Hello everyone, so I am currently making a 2d game and the way the engine works is that each different color tells the game where the region stops and begins. Is there any plug-in or method to efficiently fill-in each region with a different color? I don't mind doing it manually if each time I click to fill in an area it automatically generates a random color, I will make sure there's no duplicates at the end.

I attached some examples below. Thank you in advance for any help

attachment2.png

17.png

Share this post


Link to post
Share on other sites

I didn't made a PDN plugin, but a g'mic qt solution. Is this what you're looking for?

 

image.png.c0b101dcfbc90aa940ccdb0c2fab13f1.png

 

You won't see a repeating color here.

 

EDIT:

Also have an alpha-based solution so you can just paste

image.png.424acc9b6592bf93f014af58e692063d.png

Edited by Reptillian
  • Like 1

Share this post


Link to post
Share on other sites
8 hours ago, Iota16 said:

Yes! this is exactly what I am looking to do, can I ask how you did it? I have hundreds of pics that need to be done for the game

Paint.NET doesn't support batch processing. In any case, I'm sending you a code that works with g'mic qt as it support batch processing.

  • Like 2

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.