Jump to content
How to Install Plugins ×

Donut distortion Effect Plugin


MadJik

Recommended Posts

Donut distortion Effect Plugin

 

 

What's this?

It would be more handy if I can find some good math skills to help me with sinus & co. formulas. Don't hesitate to PM if you like to solve my problem!

I'm not really happy with this distortion effect as I've not find the correct formula to apply what I had in mind.

But for now it gives some good results enough to be published.

 

 

How does it works?

The initial idea was to distort the image by a rotation between 2 circles and so create something like a Donut aspect. This is to illustrate the idea:

Donut_Settings.png

The red Arc should be the distortion of the green segment.

The result for now is just a distortion between 2 circles... and I named it the Donut effect!

 

Before:

rays.jpg

After:

rays1.jpg

 

I've found 4 modes of distortions:

Donut_Modes.png

 

This is a test of the modes on lightrays:

Donut_Modes2.png

 

 

Download the DLL

Plugin Donut.dll

ar.pngHere is the DLLal.png

 

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

 

Microsoft Store version of Paint.net

Unzip and (re)place the DLL in your Effect folder usually: /My Documents/paint.net App Files/Effects/

You have to adapt for your language My Documents

 

 

The User interface

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

Donut_UI.png

 

External radius (0,1000, dft 300)

Set the size of the donut by choosing its radius.

Internal radius (0,1000, dft 100)

Set the size of the hole of the donut.

Unit (checkbox, dft unchecked)

unchecked: External and internal raduis values are in pixels

checked: The values are in 1/1000 based on the smallest size of the selection.

- ex: for a 800x600 image, 1000 represents the full raduis of 600 = 300px

This is usefull to redo the effect over the image with a small selection here and there:

wooden.gif

 

Distortion angle (-360,+360, dft 10)

This value is issued to set the "strength" of the distortion.

Quality

Increasing the quality is slowering the rendering a bit, and should reduce the pixelisation.

Effect Mix

This is a slider to mix the final image with the orignal image to make the effect more or less subtile.

Mode

Choose the distortion mode (Soft, medium, hard, distroy).

 

New (yma: 170716)

- Erase background

- Offset vector

 

 

Some examples:

Donut11.jpg  Donut12.jpg

 

Donut21.jpg  Donut22.jpg

 

Donut31.jpg  Donut32.jpg

  • Upvote 1
Link to comment
Share on other sites

This is an interesting idea. However, I think this effect can be used similar to Twist plug-in (there's two, one of them by pyrochild), and I could achieve similar effect using pyrochild's liquifying plug-in. I'm not knocking your effort. It seem there's more option in this one than with Twist.

Officially retired from this forum. Have a nice day.

Link to comment
Share on other sites

Hello,

i really loved your plugin , very cool results, Nice concept and design .. good job there ! keep it up.any way , i tried to do some tricks with this plugin + my Lines Fractal plugin , look what i got ! 784033588.png

by rendering Lines Fractal 2 times each on a layer, Then flipping one of them horizontally , then applying Donut to them several times.

Thanks for your effort :)

Ahmed

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Missed this is my sweeps. I can see the distinction clearly Madjik.

Especially in the distinction it will leave the center of the zone un affected which requires masking with swirl and is harder to control. Single pass approach. Overlapping this effect, as you've demonstrated lends a far more complex distortion than simple swirls and it avoid the hard center point that will occur from that approach.

Because of the matching distortion similar to Ripples, etc. it may even be nice to see a highlight added to this one. (Cursory overview request/suggestion and I've not seen the code to know if this is possible or not with this implementation.)

Thanks again Madjik for another wonderful tool in the arsenal. (Or first thanks in writing. Tons of thanks in my head while using PDN so far ... :mrgreen: )

Example of overlapping distortions that I was seeing before downloading. Only other thing that came from this was that I had to use a selection box/bounding box approach to position the distortion. Would love to have the positional box included (not sure that that thing is called in the interface programming.)

th_donuttest.png

And another example of what you absolutely cannot do with just swirling:

th_donut_not_swirl.png

Edited by delpart

***

Gallery at PDN-Fans

Link to comment
Share on other sites

...it may even be nice to see a highlight added to this one.
Could you tell me more about this ?
Would love to have the positional box included (not sure that that thing is called in the interface programming.)
You just called it: interface! No chance for me to create such interface like for liquify or custom brushes. And this plugin isn't enough popular (due to its similarity) to spend too much effort on it.
  • Upvote 2
Link to comment
Share on other sites

I knew I should have played with it more before posting that. =O And thought of learning a few part names and screen-shot examples. Here's some screen shots of the controls I was thinking of.

Could you tell me more about this ?

Ripple and drop ripple both have this highlight function. It can be used to create gradient effects and not just as a distortion. A similar approach could be applied to this plugin with that feature.

Obviously here I may be lacking the knowledge of how these other distorts function, but the use of highlight in both of them will change the outcome. Sometimes dramatically.

Brief example of drop ripple on a white canvas using the highlight to create the pattern and a gradient with no highlight showing the distortion it is creating. Also note the centering/positional control in the interface as that's what I was thinking the Donut needed.

th_ripple_example.jpg

And the function pointed out (since I made this screenshot might as well use it):

th_highlight_function.jpg

You just called it: interface! No chance for me to create such interface like for liquefy or custom brushes. And this plugin isn't enough popular (due to its similarity) to spend too much effort on it.

Sorry for the confusion here. While that would be wonderful to see a liquefy-like interface, I was just thinking of this control:

th_POSITION_CONTROL-1.jpg

I hope that helps explain my ramblings. Thanks again Madjik and I'm not wishing to demand those changes. Just my feedback from a user's point of view.

Edited by delpart

***

Gallery at PDN-Fans

Link to comment
Share on other sites

The highlight is like a shadow or a light that could give some kind of volume aspect. I'll give it a try...

The offset control isn't too difficult to add but I think it isn't suitable for this effect as you should use the selection area for that. Maybe...

Your suggestions are good ideas. Thanks a lot for them!

Link to comment
Share on other sites

  • 11 months later...
On ‎04‎/‎01‎/‎2013 at 9:13 AM, yellowman said:

Thanks Madjik for the nice plugin, the Effect Mix feature is not functioning well with me, this happens only on transparent layer (shape/object on a 100% transparent layer) the orginal shape stays there, not sure how to get rid of it.

Thanks

You could fill the layer with a white color and use blend mode or

use a transparent background not at 0 but at 1... Full transparancy is not handled.

 

 

Link to comment
Share on other sites

<3 @MadJik! Thank you so much for the new version plugin.  :trophy:  Is so in order? 

Original

500-393.png

 

500-393new.png

Edited by Seerose

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