Ego Eram Reputo Posted March 27, 2014 Share Posted March 27, 2014 This really is TechnoRobbo's baby. I just helped deliver it Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker Link to comment Share on other sites More sharing options...
Lloyd Posted March 28, 2014 Share Posted March 28, 2014 This really is TechnoRobbo's baby. I just helped deliver it Good work midwife works fine now. Quote Link to comment Share on other sites More sharing options...
Goonfella Posted March 28, 2014 Share Posted March 28, 2014 Yep , me too. Thanks a lot. Quote Please feel free to visit my Gallery on PDNFans And my Alternatives to PDN Link to comment Share on other sites More sharing options...
ftlog666 Posted March 31, 2014 Share Posted March 31, 2014 Yep , me too. Thanks a lot. a must have - thank you so much Quote Link to comment Share on other sites More sharing options...
midora Posted July 27, 2014 Share Posted July 27, 2014 The code looks like that the selection is just used to define the center. I propose to respect the selection size too (see radiusX/Y) void Render(Surface dst, Surface src, Rectangle rect) { Rectangle selection = EnvironmentParameters.GetSelection(src.Bounds).GetBoundsInt(); float CenterX = ((selection.Right - selection.Left) / 2)+selection.Left; float CenterY= ((selection.Bottom - selection.Top) / 2)+selection.Top; float radiusX = CenterX - selection.Left; float radiusY = CenterY - selection.Top; float offx=0,offy=0; ColorBgra CurrentPixel; for (float y = rect.Top; y < rect.Bottom; y++) { for (float x = rect.Left; x < rect.Right; x++) { float nx = (x - CenterX); float ny = (y - CenterY); nx /= radiusX * (float)Amount4/50; ny /= radiusY * (float) Amount5/50; offx = nx / (float)Math.Sqrt(1 - Amount1 * (ny * ny))* radiusX * (float)Amount2 + CenterX; offy = ny / (float)Math.Sqrt(1 - Amount1 * (nx * nx))* radiusY * (float)Amount3 + CenterY; CurrentPixel = src.GetBilinearSample((float)offx,(float)offy); dst[(int)x,(int)y]=CurrentPixel; } } } 1 Quote Link to comment Share on other sites More sharing options...
TechnoRobbo Posted July 27, 2014 Author Share Posted July 27, 2014 That sounds like a good idea - threw this together to answer a forum question to create a bands Kick Drum Logo - hence the name Drum Skin Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
Pixey Posted July 27, 2014 Share Posted July 27, 2014 OH ................... I only just noticed this Plugin - late to the party again. What a great result ..... I love it! I got one of my cats to be the model 2 Quote How I made Jennifer & Halle in Paint.net My Gallery | My Deviant Art "Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon. Link to comment Share on other sites More sharing options...
TechnoRobbo Posted July 27, 2014 Author Share Posted July 27, 2014 Fashionably late, Pixey Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins Link to comment Share on other sites More sharing options...
midora Posted July 27, 2014 Share Posted July 27, 2014 That sounds like a good idea - threw this together to answer a forum question to create a bands Kick Drum Logo - hence the name Drum Skin I guess you are one of the guys who can imagine the math. It's just more than some formulas. It took me a small while to figure out that the center variable is used as a point and as a distance. This was the confusing part of the algorithm. But as you said, a quick hack. Quote Link to comment Share on other sites More sharing options...
Eli Posted March 16, 2016 Share Posted March 16, 2016 (edited) Thank You!! Some people will look how to bulge text. This effect can give text or shapes a bulge effect. This is how I did it: 1. Type your text. 2. Center the text 3. Use TR's and EER's Drum Skin effect. By the way, The rugby ball was just a rectangle. I did the same thing as above. Edited March 16, 2016 by Eli 1 Quote Link to comment Share on other sites More sharing options...
Ego Eram Reputo Posted August 12, 2023 Share Posted August 12, 2023 Refreshed the download with an up-to-date version (1.3) & also added an icon. 1 1 Quote ebook: Mastering Paint.NET | resources: Plugin Index | Stereogram Tut | proud supporter of Codelab plugins: EER's Plugin Pack | Planetoid | StickMan | WhichSymbol+ | Dr Scott's Markup Renderer | CSV Filetype | dwarf horde plugins: Plugin Browser | ShapeMaker 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.