TechnoRobbo Posted June 29, 2013 Posted June 29, 2013 (edited) TR's Scatter Plugin A Directional Pixel Scattering filter designed to work with Layers and Transparency. Menu: Effects->Noise Version 1.3 Expanded Features Features include - longer spread distance - up to 10 layers of particles. Here's a simple tutorial on YouTube: http://youtu.be/wTShfLVD9_I The Code Hidden Content: // Submenu: Noise // Name: TR's Scatter // Title: TR's Scatter - v1.3 // Author: TechnoRobbo // URL: http://www.technorobbo #region UICode int Amount1 = 50; // [10,1000] Distance double Amount2 = 45; // [-180,180] Direction int Amount3 = 10; // [1,20] Spread double Amount4 = 50; // [0,100] Threshold int Amount5 = 1; // [1,20] Layers byte Amount6 = 0; // [255] Re-Generate #endregion void Render(Surface dst, Surface src, Rectangle rect) { dst.CopySurface(src,rect.Location,rect); double spread = Amount3 * Math.PI /180; double direction = Amount2 * Math.PI /180; double distance = Amount1; Random rndm = new Random((int)Guid.NewGuid().GetHashCode()); ColorBgra CP; double tmp; double tmp2; for (int y = rect.Top; y < rect.Bottom; y++) { for (int x = rect.Left; x < rect.Right; x++) { for (int i=0;i<Amount5;i++){ tmp= rndm.NextDouble() * spread + direction; tmp2=Math.Pow(rndm.NextDouble(),4) * distance; double nx = x + -Math.Cos(tmp) * tmp2; double ny = y + Math.Sin(tmp) * tmp2; CP = src.GetBilinearSampleClamped((float)nx,(float)ny); HsvColor hsv = HsvColor.FromColor(CP.ToColor()); if (hsv.Value > Amount4 && CP.A > 0){ dst[x,y] = CP; } } } } } TRs Scatter.zip Edited December 28, 2015 by TechnoRobbo 4 Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins
minners71 Posted June 30, 2013 Posted June 30, 2013 Can see this being useful on render based sigs ,thanks. Quote
Ego Eram Reputo Posted June 30, 2013 Posted June 30, 2013 NICE! I love how easy this is to use. Magic! 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
skullbonz Posted June 30, 2013 Posted June 30, 2013 This plugin is real cool.I can see it used for much more than sigs,like planets disintegrating for one,lol. Now all I need is some time to play. You are doing an awesome job on these new plugins and I thank you very much. I haven't downloaded all of them because there are a few I don't think I will ever use but the ones I have are making a great addition to the effects that I will use quite often. Loving your work dude! I think you deserve Plugin Writer of the Year! And I smell a TR's plugin pack coming in the future. Quote http://forums.getpaint.net/index.php?/topic/21233-skullbonz-art-gallery
TechnoRobbo Posted June 30, 2013 Author Posted June 30, 2013 Thank you all Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins
Djisves Posted July 6, 2013 Posted July 6, 2013 Amazing plugin TR! I have been experimenting (without much luck) with ways to achieve just this effect. It's like you read my mind! Thank you. Quote
TechnoRobbo Posted July 20, 2013 Author Posted July 20, 2013 (edited) Thanks to a suggestion from Skullbonz I decided to revisit the Scatter Plugin - Features include a longer spread distance and up to 10 layers of particles. Edited July 20, 2013 by TechnoRobbo Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins
skullbonz Posted July 21, 2013 Posted July 21, 2013 Wow,Thank you for updating. Very nice and I'm going to have fun with this. Quote http://forums.getpaint.net/index.php?/topic/21233-skullbonz-art-gallery
dug Posted July 25, 2013 Posted July 25, 2013 Cool plug-in ,loads of potential, cheers for the share. 2 Quote MY GALLERYD.A.TheRawAtom
pdnnoob Posted July 25, 2013 Posted July 25, 2013 Plugin not limited to disintegration Quote No, Paint.NET is not spyware...but, installing it is an IQ test. ~BoltBait Blend modes are like the filling in your sandwich. It's the filling that can change your experience of the sandwich. ~Ego Eram Reputo
barbieq25 Posted July 26, 2013 Posted July 26, 2013 Ditto to what DD said! Quote Knowledge is no burden to carry. April Jones, 2012 Gallery My DA Gallery
skullbonz Posted July 26, 2013 Posted July 26, 2013 One I made using it. Quote http://forums.getpaint.net/index.php?/topic/21233-skullbonz-art-gallery
TechnoRobbo Posted July 27, 2013 Author Posted July 27, 2013 Skull wicked looking images, Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins
dug Posted July 27, 2013 Posted July 27, 2013 Cheers DD and BBQ. Nice job Skullbonz. @TR. This is probably a stupid question, but does this only scatter photo images? With pdn image I only get a small scatter and no scatter if the image is on transparent background. Hope this makes sense. Quote MY GALLERYD.A.TheRawAtom
TechnoRobbo Posted July 27, 2013 Author Posted July 27, 2013 (edited) slide the threshold slider to the left it will scatter darker pixels too - and increae the distance so it's easiers to see. also try more layers. Here's a non photo PDN example Settings: Distance 602 pixels. spread 10 threshold 0 (all pixels) Layers 14 . Edited December 28, 2015 by TechnoRobbo Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins
dug Posted July 27, 2013 Posted July 27, 2013 Thank you TR. for the prompt reply. Everything works perfectly on colours and I have just realised I was working with black when I had the problem. All sorted, thanks again for an amazing plug-in. Quote MY GALLERYD.A.TheRawAtom
doughty Posted August 5, 2013 Posted August 5, 2013 Curious to me, at 180 there is falloff in the pixels and I thought the pixels would go straight out as they do at 175. Guess I'm being picky? Quote
TechnoRobbo Posted August 5, 2013 Author Posted August 5, 2013 Im trying to duplicate what you wrote. what settings are you using? V1.3 correct? Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins
TechnoRobbo Posted August 5, 2013 Author Posted August 5, 2013 (edited) Doughty,Curious to me, at 180 there is falloff in the pixels and I thought the pixels would go straight out as they do at 175. Guess I'm being picky? I think I know what you mean. The "spread" is added to the "direction" so it always skews it one way - since the rotation is continuous this should not be an issue. below is Red 180° and Blue 175° with a 10° counter-clockwise(anti-clockwise) spread. This looks cool Edited December 28, 2015 by TechnoRobbo Quote Go out there and be amazing. Have Fun, TRSome Pretty Pictures Some Cool Plugins
doughty Posted August 6, 2013 Posted August 6, 2013 Oops, I didn't realize that any rotation was involved. Wondered why the pixels didn't just fly out in the direction chosen. Guess I need to experiment more with this. Thank you for the explanation. I really do like the effect. Quote
lynxster4 Posted May 6, 2018 Posted May 6, 2018 22 minutes ago, xXGokyXx said: How do I add this??? Download the zip file from post #1 and copy it to your PDN Effects folder under Program Files. ? Quote My Art Gallery | My Shape Packs | ShapeMaker Mini Tut | Air Bubble Stained Glass Chrome Text with Reflections | Porcelain Text w/ Variegated Coloring | Realistic Knit PatternOpalescent Stained Glass | Frosted Snowman Cookie | Leather Texture | Plastic Text | Silk Embroidery Visit my Personal Website "Never, ever lose your sense of humor - you'll live longer"
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.