Jump to content

# Donut distortion Effect Plugin

## 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:

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:

After:

I've found 4 modes of distortions:

This is a test of the modes on lightrays:

Download the DLL

Plugin Donut.dll

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

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.

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:

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:

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

##### 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 !

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

##### Share on other sites

I do like this "downloads" although it is simular to pyrochilds plugins, It is an interesting alternative

##### Share on other sites

• 2 weeks later...

I like it . Going to download it right now .

##### Share on other sites

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

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

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

Edited by delpart

***

Gallery at PDN-Fans

##### 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.
##### Share on other sites

I knew I should have played with it more before posting that. 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.

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

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:

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

##### 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!

##### Share on other sites

• 11 months later...

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

##### Share on other sites

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.

##### Share on other sites

New update (yma: 170716)

- Erase background

- Offset vector

Original pizza image from Photos Libres

Humm DONZZA

Shadow added after

##### Share on other sites

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

Original

Edited by Seerose

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

Gandhi

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

×
×

• #### Activity

• Leaderboard
×
• Create New...