Jump to content

Sine Curves Plugin (ymd:080108)


MadJik
 Share

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

Link to comment
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:

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
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 ;)

xZYt6wl.png

ambigram signature by Kemaru

[i write plugins and stuff]

If you like a post, upvote it!

Link to comment
Share on other sites

  • 6 months later...
  • 1 year later...
  • 11 years later...

Hm, opening the link in a new tab gives me the same result as before, I get this message: 
 

ERROR 404 - Document not found


The 404 error is an error code in the HTTP protocol. This code is returned by an HTTP server to indicate that the requested resource (usually a web page) does not exist.
Some web browsers then display the message "404 File Not Found" (English meaning "file not found") to the Internet user.

The first 4 indicates an error in the request, here a bad URL, coming from an obsolete page or a web address typing error on the part of the visitor. The last 4 indicates the problem caused by this error: the resource could not be found.
( http://fr.wikipedia.org/wiki/Error_HTTP_404 )
(English version: http://en.wikipedia.
Link to comment
Share on other sites

I too get the 404 result - perhaps @MadJik needs another host?

 

Edit: Perhaps my Helix effect could be used if you can't get a Sinewave download. (set both Radii the same)

Edited by Red ochre
adding possible alternative

 

Red ochre Plugin pack.............. Diabolical Drawings ................Real Paintings

 

PdnForumSig2.jpg

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...