MadJik

Rosaces (ymd: 100725)

Recommended Posts

Rosaces Effect Plugin

 

Rosace0.jpg

 

What's this?

This plugin is added to the menu Effects, submenu Render.

You could create multiple kind of Roses (Rosaces in French).

Wiki link: http://en.wikipedia.org/wiki/Rose_%28mathematics%29

I found the formulas here (French)

http://www.mathcurve.com/courbes2d/hypotrochoid/hypotrochoid.shtml

This is where I got the Q,A,K factors...

 

 

Download it!

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

Unzip and (re)place the DLL in your Effect folder usually: C:/Program Files/Paint.NET/Effects

 

 

The User interface

Rosace_UI.png

 

Q factor:

the curve will be rose shaped with

.. 2 x Q petals if Q is even, and

.. 1 x Q petals if Q is odd.

if Q > 0 the petals are outside

if Q < 0 the petals are inside

With Q=2 you obtain an ellipse.

A factor:

A is the radius of the base circle and it is useless if the option 'Fit the image..' is checked.

Uncheck the option 'Fit the image..' and choose the size with this slider.

K factor:

K plays on the distance from the center to the inner curves. If you increase this value, you could have a kind of ring.

Special values:

K = 1 : No petal, just pikes.

K = Q - 1 : you have a rose (each curve goes through the center)

Quantity of vertex:

You set here how many points should draw the curves.

Steps:

You could increase the step of the points to link together.

Angle:

You could rotate the figure to draw.

Color:

The primary color is the default color (the first time). You could choose another color...

Variable color:

:Warning: Each line uses a different color. It increases the process time!

0 for fixed color (for the color wheel), 1 or > to set the number of cycle...

Transparency:

...and another level of transparency.

Brush width:

Set the width of the lines to draw.

Fit the image size:

As all the points are pre-calculated, you could choose to reduce/enlarge to make the figure fit the image.

The scale is the same for vertical and horizontal.

Anti-Aliasing:

As it says!

Some tips:

Set the brush width to 1 and the transparency to 30.

Try the steps = 1/2 Quantity of vertex - 1

 

 

Some examples:

Rosace1.jpg UI1.png

 

Rosace2.jpg  UI2.png

 

Rosace3.jpg  UI3.png

 

 

Edited by MadJik
refresh UI and rehosted images
  • Upvote 2

Share this post


Link to post
Share on other sites

thank you for the new plug in madjik I'll be working it into my newest work "Once upon a time"

ciao and thanks as always for great plugins.

Share this post


Link to post
Share on other sites

Wow. How long did some of those more intricate ones take to render?

EDIT: How about a random seed button?

Share this post


Link to post
Share on other sites

File: C:\Program Files\Paint.NET\Effects\Rosaces.dll

Effect Name: RosacesEffect.RosacesFx

Full error message: System.MissingMethodException: Method not found: 'Int32 PaintDotNet.ColorBgra.ToOpaqueInt32(PaintDotNet.ColorBgra)'.

at RosacesEffect.RosacesFx.OnCreatePropertyCollection()

at PaintDotNet.Effects.PropertyBasedEffect.CreateConfigDialog()

at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType)

:cry:

Share this post


Link to post
Share on other sites
File: C:\Program Files\Paint.NET\Effects\Rosaces.dll

Effect Name: RosacesEffect.RosacesFx

Full error message: System.MissingMethodException: Method not found: 'Int32 PaintDotNet.ColorBgra.ToOpaqueInt32(PaintDotNet.ColorBgra)'.

at RosacesEffect.RosacesFx.OnCreatePropertyCollection()

at PaintDotNet.Effects.PropertyBasedEffect.CreateConfigDialog()

at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType)

:cry:

Need V3.30beta! :roll:

Share this post


Link to post
Share on other sites

nice plugin but i use splatter and drop shadow a lot so im going to have to wait till 3.30 is a stable release :D then i can use this and bu then plugin makers will probably of changed thier stuff to work in 3.30 :D

Share this post


Link to post
Share on other sites
File: C:\Program Files\Paint.NET\Effects\Rosaces.dll

Effect Name: RosacesEffect.RosacesFx

Full error message: System.MissingMethodException: Method not found: 'Int32 PaintDotNet.ColorBgra.ToOpaqueInt32(PaintDotNet.ColorBgra)'.

at RosacesEffect.RosacesFx.OnCreatePropertyCollection()

at PaintDotNet.Effects.PropertyBasedEffect.CreateConfigDialog()

at PaintDotNet.Menus.EffectMenuBase.RunEffect(Type effectType)

:cry:

Need V3.30beta! :roll:

using 3.3 beta release 1 do I need release 2?

Share this post


Link to post
Share on other sites

Yes. Beta 2 adds a lot for developers. His plugin is trying to utilize one of the new functions.

Share this post


Link to post
Share on other sites

Looks great! I cannot wait until I get home to try this one out. Quick question: Is this a render, or does it distort the image? (I cant try it out, so I am sorry)

Share this post


Link to post
Share on other sites
Looks great! I cannot wait until I get home to try this one out. Quick question: Is this a render, or does it distort the image? (I cant try it out, so I am sorry)
What's this?

This is a plugin under Effect/Render.

:roll:

Share this post


Link to post
Share on other sites
Looks great! I cannot wait until I get home to try this one out. Quick question: Is this a render, or does it distort the image? (I cant try it out, so I am sorry)
What's this?

This is a plugin under Effect/Render.

:roll:

What would I ever do without Pyro's wry sense of sarcasm and humor. :)

Share this post


Link to post
Share on other sites

Madjik what were the settings you used for second example?

love that image.

PS I finally got the plugin to work was using 3.3 beta 1 not beta 2. its awesome plug in.

Share this post


Link to post
Share on other sites

New update:

See first post...

Take care of the brushwidth to fit the image size:

Should width lines go outside the image or must stay inside?

This is helpfull with great value for brushwidth...

Some bugs fixed...

Share this post


Link to post
Share on other sites

<3 Dear @MadJik!

 

WOW! So beautifully colorful. :trophy:  I love it. Thank you for the news version and for your effort. :cake: :coffee:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now