MadJik Posted May 31, 2007 Author Posted May 31, 2007 Bars Effect Plugin What's this? This plugin will generate two colored bars from a border of the image with a random length. The ratios are here to reduce/increase the maximum length/width of the bars. Download it! Plugin Bars.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 is a plugin under Effect/Render. Choose the edge to start from: Select the border top, bottom, left or right. Widthness of the bars: Select the brush width used to draw the lines. Length of the Primary color bar in% : Choose the maximum length in %. A random value is determinated in this range. Length of the Secondary color bar in% : Choose the maximum length in %. A random value is determinated in this range. The secondary color bar is drawn after the first bar. So the maximum length in % could be the sum of these two values. Transparency: Choose the transparency amount. Fit the length to the size of the image: The secondary bar is drawn from the first bar to the opposite edge. The whole image is filled with bars. Invert primary/secondary colors: Only switch the colors, not the ratios. Reseed: Click this button to recalculate the bars. Some examples: For this examples, I have created a green 300x300 image, Red as PrimColor, Blue as 2ndColor. 1. Bars: ...Edge=Left ...Widht=1 ...Primary=50% ...Secondary=50% 2. Explosion: ...Edge=Bottom ...Widht=1 ...Primary=50% ...Secondary=50% ...Rect to Polar conversion. 3. Splats: ...Do an explosion (see previous example). ...Run the Majority Effect: Mode=1, Radius=10, Tolerance=175. 4. Hair (work better in image width is 2 times the height): ...Edge=Left ...Widht=1 ...Primary=25% ...Secondary=25% ...Polar inversion. ...Rotate the image Clockwise (Ctrl+H). ...Cut out / Tint / Etc... Original image from the web: http://a69.g.akamai.net/n/69/10688/v1/img5.allocine.fr/acmedia/medias/nmedia/18/60/11/71/18748697.jpg 5. Star ...Combine Explosion and Kaleidoscope: Voilà ! Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
MadJik Posted May 31, 2007 Posted May 31, 2007 double post deleted Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
barkbark00 Posted May 31, 2007 Posted May 31, 2007 4. Hear (work better in image width is 2 times the height):...Bars_H:Ratio=50. ...Polar inversion. ...Rotate the image Clockwise (Ctrl+H). ...Cut out / Tint / Etc... I think you mean "Hair". Great plugin! Quote Take responsibility for your own intelligence. 😉 -Rick Brewster
MadJik Posted May 31, 2007 Author Posted May 31, 2007 I think you mean "Hair". :oops: I saw that this word sounded strange to me... :wink: Great plugin! Thank you... Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
Ash Posted May 31, 2007 Posted May 31, 2007 Nice, Don't know what to do with it at the moment Buildings?? Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]
natjo1986 Posted May 31, 2007 Posted May 31, 2007 It does a pretty good border. I'll put the results in the pictorium later. Quote
MadJik Posted May 31, 2007 Author Posted May 31, 2007 New Sig: Grass: this plugin+ waves Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
Jezulkim Posted May 31, 2007 Posted May 31, 2007 I had a crash with this when doing it inside elliptical selection. This text file was created because Paint.NET crashed. Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem. Application version: Paint.NET v3.08 (Beta Release build 3.08.2705.22653) Time of crash: 31.5.2007 23:33:55 Application uptime: 00:00:25.0156250 OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86 .NET Framework version: 2.0.50727.42 x86 Processor: 2x "Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz" @ ~2187MHz Physical memory: 1023 MB Tablet PC: no Locale: pdnr.c: fi-FI, hklm: fi-FI, hkcu: n/a, cc: fi-FI, cuic: fi-FI Exception details: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.ArgumentOutOfRangeException: Arvon maxValue on oltava suurempi kuin nolla. Parametrin nimi: maxValue kohteessa System.Random.Next(Int32 maxValue) kohteessa PaintDotNet.Effects.UserScript.Render(Surface dst, Surface src, Rectangle rect) kohteessa PaintDotNet.Effects.UserScript.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) kohteessa PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() --- Sisäisen poikkeuksen pinon jäljityksen loppu --- kohteessa PaintDotNet.Effects.BackgroundEffectRenderer.Join() kohteessa PaintDotNet.Effects.BackgroundEffectRenderer.Start() kohteessa PaintDotNet.Menus.EffectMenuBase.EffectConfigTokenChangedHandler(Object sender, EventArgs e) kohteessa PaintDotNet.Effects.EffectConfigDialog.OnEffectTokenChanged() kohteessa PaintDotNet.Effects.AmountEffectConfigDialogBase.amountTrackBar_ValueChanged(Object sender, EventArgs e) kohteessa System.Windows.Forms.TrackBar.OnValueChanged(EventArgs e) kohteessa System.Windows.Forms.TrackBar.WndProc(Message& m) kohteessa System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) kohteessa System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) kohteessa System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ------------------------------------------------------------------------------ EDIT: ehh? Half of the crash log is in finnish. Quote Internet Explorer 7
barkbark00 Posted May 31, 2007 Posted May 31, 2007 English... This text file was created because Paint.NET crashed. Please e-mail this file to paint.net@hotmail.com so we can diagnose and fix the problem. Application version: Paint.NET v3.07 (Final Release build 3.07.2683.42092) Time of crash: 05/31/07 4:40:09 PM Application uptime: 00:00:08.3905176 OS Version: 5.1.2600.131072 Service Pack 2 Workstation x86 .NET Framework version: 2.0.50727.42 x86 Processor: 1x "Intel(R) Pentium(R) 4 CPU 2.66GHz" @ ~2660MHz Physical memory: 511 MB Tablet PC: no Locale: pdnr.c: en-US, hklm: n/a, hkcu: en-US, cc: en-US, cuic: en-US Exception details: PaintDotNet.WorkerThreadException: Worker thread threw an exception ---> System.ArgumentOutOfRangeException: 'maxValue' must be greater than zero. Parameter name: maxValue at System.Random.Next(Int32 maxValue) at PaintDotNet.Effects.UserScript.Render(Surface dst, Surface src, Rectangle rect) at PaintDotNet.Effects.UserScript.Render(EffectConfigToken parameters, RenderArgs dstArgs, RenderArgs srcArgs, Rectangle[] rois, Int32 startIndex, Int32 length) at PaintDotNet.Effects.BackgroundEffectRenderer.ThreadFunction() --- End of inner exception stack trace --- at PaintDotNet.Effects.BackgroundEffectRenderer.Join() at PaintDotNet.Effects.BackgroundEffectRenderer.Start() at PaintDotNet.Menus.EffectMenuBase.EffectConfigTokenChangedHandler(Object sender, EventArgs e) at PaintDotNet.Effects.EffectConfigDialog.OnEffectTokenChanged() at PaintDotNet.Effects.AmountEffectConfigDialogBase.amountTrackBar_ValueChanged(Object sender, EventArgs e) at System.Windows.Forms.TrackBar.OnValueChanged(EventArgs e) at System.Windows.Forms.TrackBar.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ------------------------------------------------------------------------------ Quote Take responsibility for your own intelligence. 😉 -Rick Brewster
MadJik Posted May 31, 2007 Author Posted May 31, 2007 Fixed! Please Download again! Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
moc426 Posted May 31, 2007 Posted May 31, 2007 not sure what I can use this for yet. btw you spelled length wrong in the dialog box. Quote
The_Lionhearted Posted May 31, 2007 Posted May 31, 2007 Nice job Madjik! Keep up the good work! Quote My Gallery
Jud@s Posted May 31, 2007 Posted May 31, 2007 Good job MadJik! I'm sure I can use this sooner or later. I'll probally end up putting hair on all the pics of me that I got on my PC... the upper side of my head is a Bruce Willis look alike. Quote 100% PDN
Ash Posted June 1, 2007 Posted June 1, 2007 @MadJik: Great idea on the grass Quote All creations Ash + Paint.NET [ Googlepage | deviantArt | Club PDN | PDN Fan ]
MadJik Posted June 1, 2007 Author Posted June 1, 2007 not sure what I can use this for yet.btw you spelled length wrong in the dialog box. I would say I did wrong spelling to let some of you use the codelab. :wink:. But it's not the case, so I've updated the zip (agian :oops:). Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
Mr Frojo Posted June 1, 2007 Posted June 1, 2007 Cool plugin! Ill post some stuff i made with it in the pictorium sometime Quote I'm still alive!
TakeMangaka Posted July 1, 2007 Posted July 1, 2007 Spiky! May be useful somehow Quote I'm BRAZILIAN! I love Anime Art!
MadJik Posted April 10, 2008 Author Posted April 10, 2008 New version of the Bars_H and Bars_V... Check out the first post! Quote My DeviantArt | My Pictorium | My Plugins | Donate via Paypal
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.