Jump to content
How to Install Plugins ×

Fractal Curly Tree (ymd: 180407)


MadJik

Recommended Posts

Fractal Curly Tree

 

Fractal_Tree0.png 


 

 

What's this?

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

based on source code available at

http://csharphelper.com/blog/2016/02/draw-a-curly-tree-fractal-using-less-memory-in-c/

 

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!

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

Fractal_Tree_UI.png 

 

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.

 

Margin

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

 

Transparency

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.

 

Color 

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.

 

 

 

Examples

Fractal_Tree1_600.png


Fractal_Tree2.png


Fractal_Tree3.png


Fractal_Tree4.png


Fractal_Tree5.png


Fractal_Tree6.png

 

and with more work:

planet600.png 

 

 

 

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:

 

fractaltree.png

 

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.

PdnSig.png

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

<3 @MadJik! Thank you so much for sharing. :coffee: :cake:

It did not work out so well with the tree. 

 

08April2018hs.png

 

08April2018hsS.png

 

Edited by Seerose
  • Like 3
  • Upvote 1

Live as if you were to die tomorrow. Learn as if you were to live forever.

Gandhi

 

mae3426x.png

Link to comment
Share on other sites

I still have a little picture. That's the best I can do right now. But as feedback for the plugin creator I dare, despite the super beautiful predecessors :doh:

 

bild2_fertig.png

  • Like 3
Link to comment
Share on other sites

A round tree, a field, blue sky and a reading grandpa united in this naive picture, created in the Fractal Curly Tree, makes me really happy.  I enjoyed the many hours I spent trying!

bild_baumgemälde_fractal_curlyB.jpg

  • Like 3
  • Upvote 1
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

<3 Dear @lifeday! Excellent job, good idea and colour choices. :trophy: Thank you for sharing. :cake: :coffee:

Live as if you were to die tomorrow. Learn as if you were to live forever.

Gandhi

 

mae3426x.png

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.

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.

×
×
  • Create New...