MadJik Posted April 7, 2018 Share Posted April 7, 2018 Fractal Curly Tree 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 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. 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 and with more work: Voilà! Enjoy! 5 4 Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.