Jump to content

Random lines Generator (ymd:100725)


Recommended Posts

Random lines Effect Plugin



What's this?

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

You should use it to create/add lines to your images.



Download the DLL

Plugin Random lines.dll

ar.png Here is the DLL al.png



The MadJik's All plugins package is available !



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


Microsoft Store version of Paint.net

Unzip and (re)place the DLL in your Effect folder usually: /My Documents/paint.net App Files/Effects/

You have to adapt for your language My Documents



The User interface


Quantity of lines: set the needed quantity from 1 to 1000. The number of lines could be different as sometimes the lines are overwritting themselves...

Thickness of the lines (max.): set the brushwidth to use to draw the lines. In Aliased mode, if the size is 1, the line could be disrupted (Not a bug :roll:, but Microsoft line tool issue...).

Thickness of the lines (min.; 0 for fixed): set this value greater than zero to have a variable thickness (between min and max slider). Zero is used for fix thickness.

Color mode: choose a drawing mode between:

...Primary color: use only primary color.

...Secondary color: use only Secondary color.

...Random Primary/Secondary colors: use randomly primary or secondary color.

...Random colors: take a random value for each red/green/blue chanel.

...Random Primary color Gradient: take a random value from the Primary color family.

...Random Secondary color Gradient: take a random value from the Secondary color family.

...Random Primary/Secondary color Gradient: take a random value from the Primary or Secondary color family.

Options: check the option(s) you need:

...Random Alpha chanel:

checked: each line is drawn with a randow transparency (Alpha chanel).

unchecked: Transparency is taken from Primary/Secondary color.

...Clamp lines to the borders:

checked: each line is drawn across the image from a size to another size.

unchecked: start/end points of the lines could be any pixel of the image.

...Continuous lines:

checked: each new line starts where the previous ends.

unchecked: each line starts/ends regardless the others.


You should check this with Thickness amount of 1...

Reseed: press this button to run the effect with another random reference...



Some examples:

Default values:

rl01a.jpg  rl01b.png



rl02a.jpg  rl02b.png


Clamp:Off, Continuous:On

rl03a.jpg  rl03b.png


Random thickness, random colors with alpha

rl04a.jpg  rl04b.png



Link to post
Share on other sites

Neat plugin. A couple nitpicky details, though: what is with the "Off:no, On:yes" nonsense on your checkboxes? Off always means no, and vice-versa, no need, really, to add that text there. It just adds clutter and makes things look unprofessional, and occasionally can cause confusion.

The "Thickness is: Off:fixed, On:random" checkbox is your worst culprit, and the wording is not at all intuitive. Less intuitive nearly always equates to more (even if only a couple extra seconds) time spent figuring out how to use that particular feature, and again, sometimes, confusion. You don't want to confuse your users, do you? ;)

It would be much more better (yes, much more better), with something like "Random Thickness"

Please don't confuse these comments with just being a me complaining about stuff because I'm jealous of your mad coding skillz (which I am :D ), but rather as constructive criticism that will help your plugins reach an even higher standard than the already impressive one that they are at now. Have a drink :mtdew:

Anyhoo, it's quite fun to play with, even if I haven't made anything remotely resembling "art" with it yet ;)

Link to post
Share on other sites
@All: thanks...

@pyrochild: I appreciate your remarks as my english could show some lake of good sense. I will change the UI labels...

MadJik...your English makes me smile. A lot. "lake" of good sense...? Brilliant! :D

I wish more of us could have a lake of good sense :D

Link to post
Share on other sites
  • 1 month later...
  • 2 weeks later...


This topic is now archived and is closed to further replies.

  • Create New...