Jump to content

MadJik

Members
  • Posts

    2,690
  • Joined

  • Last visited

  • Days Won

    68

Posts posted by MadJik

  1. 1 hour ago, Pixey said:

    As of now, Saturday 14th April 2018 the Postimage.org site is up and running again and they are adding .cc to the images.

     

    Testing with this image:

     

    cute_mouse.png

     

    I guess we have no option but to change our images to include the .cc.  I can't find a reason why this happened.

     

    As you said, the problem isn't solved.

     

    Postimg.org is still locked. Login to your account works because it is postimage.org.

    New links with old or new images work because there is a automatic path transition from postimg.org to postimg.cc.

    Old links in the forum  are still broken...

     

     

  2. On ‎21‎/‎02‎/‎2018 at 8:07 PM, xod said:

    This effect (Hystogram) was created in VisualStudio only to understand how things work.
    It's about ConfigToken, ConfigDialog, InitTokenFromDialog, InitDialogFromToken, and so on.
    So it can't be really considered as a plugin. Found in Effects > Render submenu.

    I'm trying to add the color picker button to my hexagrid plugin. It seems ok but I'm facing a problem already present in your source code.

     

    With your plugin Hystogram run the effect a first time and change the colors of the bars and some values, then Ok.

    Open the effect another time, the colors on the buttons are back to initials colors. This isn't the usual behave of a plugin. I can't see how to make it works.

     

    Extra trouble with the dark theme I had to remove the groupboxes because the fonts remain black....

     

    HexaGridSRCv2.zip

  3. 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
×
×
  • Create New...