Jump to content
How to Install Plugins ×

Bars plugin (ymd:100725)


MadJik

Recommended Posts

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

ar.pngHere is the DLLal.png

 

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.

Bars_UI.png

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:

bars_h_1.png

...Edge=Left

...Widht=1

...Primary=50%

...Secondary=50%

 

2. Explosion:

bars_h_2.png

...Edge=Bottom

...Widht=1

...Primary=50%

...Secondary=50%

...Rect to Polar conversion.

 

3. Splats:

bars_h_3.png

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

hear1.png

 

hear2.png

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:

bars_4.png

 

Voilà !

Link to comment
Share on other sites

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

removed

removed

I think you mean "Hair".

Great plugin!

 

Take responsibility for your own intelligence. 😉 -Rick Brewster

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

 

Take responsibility for your own intelligence. 😉 -Rick Brewster

Link to comment
Share on other sites

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. :P

Juds_Fire_sig.png

100% PDN

Link to comment
Share on other sites

  • 5 weeks later...
  • 9 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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

×
×
  • Create New...