MadJik Posted December 4, 2011 Share Posted December 4, 2011 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 Here is the DLL 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. 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: 1 Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Lance McKnight Posted December 4, 2011 Share Posted December 4, 2011 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. Quote Officially retired from this forum. Have a nice day. Link to comment Share on other sites More sharing options...
AhmedElyamani Posted December 4, 2011 Share Posted December 4, 2011 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 Quote Link to comment Share on other sites More sharing options...
nitenurse79 Posted December 4, 2011 Share Posted December 4, 2011 I do like this "downloads" although it is simular to pyrochilds plugins, It is an interesting alternative Quote Link to comment Share on other sites More sharing options...
sokagirl Posted December 18, 2011 Share Posted December 18, 2011 I like it . Going to download it right now . Quote Link to comment Share on other sites More sharing options...
delpart Posted January 9, 2012 Share Posted January 9, 2012 (edited) 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 January 9, 2012 by delpart Quote *** Gallery at PDN-Fans Link to comment Share on other sites More sharing options...
MadJik Posted January 9, 2012 Author Share Posted January 9, 2012 ...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. 2 Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
delpart Posted January 9, 2012 Share Posted January 9, 2012 (edited) 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 January 9, 2012 by delpart Quote *** Gallery at PDN-Fans Link to comment Share on other sites More sharing options...
MadJik Posted January 10, 2012 Author Share Posted January 10, 2012 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! Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
yellowman Posted January 4, 2013 Share Posted January 4, 2013 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 Quote My GalleryMy YouTube Channel "PDN Tutorials" Link to comment Share on other sites More sharing options...
MadJik Posted January 5, 2013 Author Share Posted January 5, 2013 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. Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
MadJik Posted July 16, 2017 Author Share Posted July 16, 2017 New update (yma: 170716) - Erase background - Offset vector Original pizza image from Photos Libres Humm DONZZA Shadow added after 3 Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal Link to comment Share on other sites More sharing options...
Seerose Posted July 23, 2017 Share Posted July 23, 2017 (edited) @MadJik! Thank you so much for the new version plugin. Is so in order? Original Edited April 19, 2018 by Seerose Quote Live as if you were to die tomorrow. Learn as if you were to live forever. Gandhi Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.