MadJik

Generate 96 colors for palettes (ymd: 180302)

Recommended Posts

Generate 96 unique colors for palettes

 

palette0.png 

 

 

What's this?

Some other effects could use palettes of colors to fill the canvas. This is why I need to create palettes in many ways to use with these colorful plugins. This effect is able to fill the canvas with 96 different colors (16 columns x 6 rows) and save as a palette file.

 

Download it!

Plugin Gen96Colors.dll

ar.png Here is the DLL http://jcljay.free.fr/pdn/Gen96Colors.zip 

 

 

The MadJik's All plugins package is available!

http://forums.getpaint.net/index.php?showtopic=7186 

 

 

 

How to install

Close Paint.net

 

Classic version of Paint.net

Unzip and (re)place the DLL in your Effect folder usually:

C:/Program Files/Paint.NET/Effects (please reverse / for correct path)

 

Microsoft Store version of Paint.net

Unzip and (re)place the DLL in your Effect folder usually:

My Documents/paint.net App Files/Effects (please reverse / for correct path)

 

You have to adapt for your language My Documents

 

 

 

How to use it

This effect replaces the canvas on the active layer. Be sure to use a new layer or a new image.

 

Then run the effect and choose the colors from start to end and the generator mode. If you check the box “save in user’s folder of palettes”, you will find “Gen96_aaaaa_bb.txt files.

aaaaa is the reseed number used and bb is the step value. Existing files are overwritten.

 

NB: If you use linear or HSV generator mode, you have to change the reseed value to save each palette with a different name.

 

 

 

The User interface

This plugin is added to the menu Effects, submenu Tools.

GEN96_UI.png 

 

Reseed

When zero the effect is in random mode. Every time a control is changed a new image is calculated (also when you finally press the Ok button).

Other values than zero are used to initialize the random sequence. Same value should give the same result now and later, ever…

Of course, this control is not used when the generator mode is linear or HSV.

NB: This value is used to name the file of palette.

 

Starting/Ending colors

Select the colors from start to end as limits of your palette.

 

Transparency mode (None/Random/Linear)

Mode None, all colors are opaque.

Select random if you want transparency in the palette.

Linear gives a progressive/degressive transparency.

 

Starting/Ending Alpha

Set the transparency limits.

 

Generator mode (Random/Linear/HSV)

Select the mode of color calculation.

-Random

-Linear (from starting to ending colors, on the RGB channels).

-HSV: from starting to ending colors, using Hue/Saturation/Value conversion.

 

Save in user’s folder of palettes

When checked each rendering create (overwrite) a palette file in the standard folder. It could be a lot of files if you let the reseed slider going up 1 by 1 increment…

 

Step size

Fill the palette with a step between each color. Instead of a regular “gradient” you will have some kind of checker…

 

  

 

The Examples:

palette2.png    palette4.png


palette1.png    palette3.png

 

Voilà! Enjoy!

 

Let me see what you could do with it!

 

  • Like 3
  • Upvote 1

Share this post


Link to post
Share on other sites

Hi MadJik,

I downloaded Generate 96 colors for palettes, but I can't really achiev anything with it. 
I must first try the translation and then discover for myself the right way of understanding and acting. 

 

lifeday

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.