Jump to content
How to Install Plugins ×

Fractal Curly Tree (ymd: 180407)

Recommended Posts

Fractal Curly Tree





What's this?

This effect uses a fractal algorithm to draw a curly tree.

based on source code available at



Download it!

Plugin FractalTree.dll

ar.png  Here is the DLL http://jcljay.free.fr/pdn/FractalTree.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 does it work?

The effect first calculates the size of the tree and then defines a ratio to make it fit in the selection. This is why the result is always inside.



The User interface

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



Level (higher = slower)

Number of levels to draw a tree. High level give more details but could take more time and CPU.


Start angle

Rotation adjustment of the tree. Default is vertical for the first segment..


Link angles (B = -A)

Check it for a symmetric tree, angle of left branches is negative angle of the right branches.


Angle A/B

Two angles adjustments for two branches at each new level.


Link length (B = A)

Check it for equal lengths between left and right branches.


Length A/B (higher = slower)

Two lengths adjustments for two branches at each new level.


Start Thickness

Adjust the thickness of the first segment. The thickness is reducing at each new level and it is adjusted by the ratio of the tree vs the canvas.



Add a margin around the tree from point to point. It doesn’t use the thickness in care to calculate the margin.



Adapt the transparencies of the elements of the segments,


Invert horizontal/vertical

Check boxes to mirror the tree horizontally or vertically.


End caps style

Select the ends cap style of the lines.


Use full area (no aspect ratio)  

The tree is placed depending on its dimensions compared with the size of canvas but keep a ratio for the aspect. Check to fill the maximum area without the aspect ratio.


Use palette of colors 

By default, the tree use the color wheel (primary color). When checked, each segment use a color from the active palette.



If “Use palette of colors” is unchecked, you could choose another color to draw the tree.


Add shadow 

Check this to draw a dark segment before the color segment making a small relief shadow on the tree.












and with more work:





Voilà! Enjoy!


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

Cool plugin @MadJik!  I did this too quickly...somehow it looks like a brain.  :lol:


There are so many variables and outcomes; I'll have to experiment more.  Thank you!!   :beer:




You da 'plugin master'!


Edited by lynxster4
  • Like 4
Link to comment
Share on other sites

5 hours ago, lynxster4 said:

There are so many variables and outcomes


I think this is a great argument for a Save/Load option!

Link to comment
Share on other sites

8 hours ago, MadJik said:

With indirectUI?


You would have to use Windows Forms to allow loading and saving presets.


Plugin Pack | PSFilterPdn | Content Aware Fill | G'MICPaint Shop Pro Filetype | RAW Filetype | WebP Filetype

The small increase in performance you get coding in C++ over C# is hardly enough to offset the headache of coding in the C++ language. ~BoltBait


Link to comment
Share on other sites


Very imaginative image @lifeday !   :star:  That looks very cool!   :)

Edited by lynxster4
Link to comment
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.

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