Sign in to follow this  
MadJik

Sine Curves Plugin (ymd:080108)

Recommended Posts

Sine Curves

Wiki: http://en.wikipedia.org/wiki/Trigonomet ... efinitions

What's this?

This is a plugin under Effect/render menu. You should use it to create/add sine curves to your images.

It was made following a request: viewtopic.php?f=12&t=21961

(Don't understand here I'll give a solution to all requests!)

The sine curve start with a scale at zero, then the scale increase to its maximum (slider) at the center, then decrease to zero again.

As the formula changes at the center, you could have an angle at the central point (instead a smooth curve)... I haven't find a solution for that. You could play with the start angle chooser to try to reduce it.

Plugin Sine curve.dll

here is the DLL

The User interface

sc00.png

Freqency: set the frequency of the curve from 0.01 to 400.

Scale: set the height of the curve in purcent from 0.01 to 200%.

Steps: increase the steps amount to turn the smooth curve into straigth lines.

Thickness: set the brushwidth to use to draw the curve.

Start angle: from -180 to +180.

formula of the curve: choose a drawing formula between:

...Sine -wWw- : Increasing - Decreasing Sine curve.

...Sine Ww-wW : Decreasing - Increasing Sine curve.

...Cosine -wWw- : Increasing - Decreasing Cosine curve.

...Cosine Ww-wW : Decreasing - Increasing Cosine curve.

Select the ends of the lines: choose the end caps you need:

...none

...round

...triangle

...square

Anti-Aliasing:

Some examples:

Sine0.jpg

Sine1.jpg

Sine2.jpg

Share this post


Link to post
Share on other sites
If only I know how!

...and I'm not sure I could use the new indirectUI in this case...

Just move all the .cs files into a single project, and yes IndirectUI will work fine.

Share this post


Link to post
Share on other sites
If only I know how!

...and I'm not sure I could use the new indirectUI in this case...

Just move all the .cs files into a single project, and yes IndirectUI will work fine.

Just be sure that all of your effects have different namespaces. :D

BTW, I did it once (hidden images), but I found adding icons to the various effects was difficult. I never could get it to work properly. :cry:

Share this post


Link to post
Share on other sites
Just be sure that all of your effects have different namespaces. :D

They don't need to be in different namespaces.... Different classnames, yes. But you'd probably get a compiler error if you had duplicate classnames in a single project anyway...

BTW, I did it once (hidden images), but I found adding icons to the various effects was difficult. I never could get it to work properly. :cry:
Ahhh, so maybe that's why Ed Harvey doesn't like adding icons to his plugins ;)

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
Sign in to follow this