2 Attachment(s)
Sine Wave Widget - Contest Entry
Sine Wave Widget
Parameters
- _speed: set the speed of the object. Negatives make it go the other direction
- _amplitude: the total height of the sine wave divided by two
- _frequency: The width of each wave formation. Calculated by 2*pi/wavelength?
- Start X: This is the starting X position of your Active Object. You do not need to set this if Use Position is set to 1.
- Start Y: This is the starting Y position of your Active Object. You do not need to set this if Use Position is set to 1.
- Move: If this is set to 1, the active will move. Set it to 0, and it will stop.
- End X: This is the final X position that the active will stop at.
- Fastloop Movement: If a fastloop is preferred for the movement of this object, set this to 1. This disables the Repeat function.
- Use Position: Set this to 1 to use the current position of the object as the Start X and Y.
- Paste Into Background: This will paste the image into the background while it is moving if set to 1.
- Repeat: When set to 1, the position of the object goes back to the original position an repeats the sine wave. This is disabled with the fastloop movement.
- Funky Effect: Just a mistake I made while making this widget, but I thought it'd be cool to have it here, because it's funky. Set this to 1 to see what I'm talking about.
- Strings
- Color: The Sine Wave Widget comes with three built-in colors: red, green, and blue. Set this string to one of those colors, and it will change. This works best with the paste into background setting set to 1. If you want to use your own graphic, just empty the Alterable String.
I might make it better with updates, such as the sine wave angle issue I'm having.
Re: Sine Wave Widget - Contest Entry
Awesome widget! This is very useful for me! :D
You have a lot of different functions which is very good for a widget. ;)
Nice work :)
EDIT: I remember the post you made about this. I am glad I tried to help out with this before ;)
Re: Sine Wave Widget - Contest Entry
Hey, thanks! My favorite one is the funky effect though. ;)
2 Attachment(s)
Re: Sine Wave Widget - Contest Entry
Here's the newest update to the Sine Wave Widget, which includes some new features and some bug fixes:
- BUG FIX: Frequency works now
- NEW FEATURE: Inverse Wave
- NEW FEATURE: Effect Type
That's it for now, but I will continue to update this (that is, until it cannot be updated anymore)
Re: Sine Wave Widget - Contest Entry
Is this just a widget or a example also because i can't see anything, im guessing it draws a sine wave?
Edit - after resizing i see the effect now, you should make a example for it maybe also, nice work :)
Re: Sine Wave Widget - Contest Entry
Well you're not supposed to run anything from the example... It's a widget.
However, I will submit an example; I'm working on it right now.
Re: Sine Wave Widget - Contest Entry
The only difference between non-funky & funky is the +0 and that makes it straight?
4 Attachment(s)
Re: Sine Wave Widget - Contest Entry
OK I've updated the Sine Wave object yet again with a small bug fix, and I'm including an example to go with it.
Re: Sine Wave Widget - Contest Entry
Nice, thanks, great example :)
Re: Sine Wave Widget - Contest Entry
For some reason I had to use clear zone of screen because the Delete all Backdrops on Layer 1 wasn't working right in the example.
Can anyone figure that out?