Jump to content
How to Install Plugins ×

Varicose 2 (ymd:18-02-20)


Recommended Posts

Varicose 2




What's this?

This is an original plugin made by @jchunn in year 2008.


Having a need for a specific use of varicose and as the source code is available, I started some improvements to this effect.


I PMed to @jchunn to ask if I could rework this code so... here we are!


Original plugin could still be found here. Still interesting as it is a rare plugin in VB!




What does it do?

Define a number of starting points on the top of the image then draw a “vein” to the bottom.

Veins aren’t straight they move slightly (and randomly) to the left or the right. They could merge when they meet. They could split randomly.

A vein is made of two edges (left and right) 50% transparent and a middle section 75% transparent.

Left edge uses primary color, Right edge uses secondary color, middle section is a blend between primary and secondary colors.

The vein is also blended with the image of the canvas with the intensity.


What's new in this version?

. Changed to C# (instead Visual Basic)

. Added help and

. Random possibility to divide the lines (not only merging).

. Quality slider (anti-aliasing) ...

. Frequency is the number of starting points (if the width is enough).

. Reseed button, 0=new reseed at each run, any value=unique sequence of random values.

. Shiny line (add a single pixel white line before the right edge)

. Edges thickness

==>  Effect submenu: Stylize




Download it!

Plugin Varicose2.dll

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


ar.png  Here is the zip of Sources http://jcljay.free.fr/pdn/Varicose2SRC.zip



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 (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

Select the primary and secondary colors you want for the veins.

Then run the effect other an image or on a new empty layer.

Veins are vertical going from the top to the bottom.



The User interface

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




Use Primary and Secondary Colors

Left edge uses the primary color and right edge uses secondary color. Uncheck to use Black (left edge) and White (right edge).



Number of start points. It could be less when if the width of the selection isn’t sufficient.



Set the width of the vein. This size is shared by the two edge and the middle section.


Thickness of the edges

Same value for the two edges. Change the width of the edges.


Chance of splitting

Percentage of chance (random) to start a new vein on each line.



Set the start of a serial random numbers. Zero is a new serial each time (full random).



Set the level of transparency of the edges. The middle section is a half of the edge level.


Add a shiny line

Check to add a single pixel white line before the right edge.


Quality (AA)

Set the level of quality (antialiasing). It applies only where there is a vein. Other areas of the image remain unchanged.




The Examples:





Voilà! Enjoy!


Let me see what you could do with it!



  • Like 4
  • Upvote 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

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

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.

  • Create New...