If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Help with Morphing X/Y Oscillator
10 posts
• Page 1 of 1
Help with Morphing X/Y Oscillator
Hey guys,
So I had an idea for an oscillator using an X/Y to morph between 4 different shapes,
but again I think I have gone blank on the maths for how its suppose to work, the result I have so far is an interesting effect but it is not exactly how I wanted it, basically the idea is to have the exact waveform when the cursor is in one of the 4 corners of the X/Y and then it slowly morphs into the other waveforms the closer it gets to the other corner.
Thanks for your help guys
So I had an idea for an oscillator using an X/Y to morph between 4 different shapes,
but again I think I have gone blank on the maths for how its suppose to work, the result I have so far is an interesting effect but it is not exactly how I wanted it, basically the idea is to have the exact waveform when the cursor is in one of the 4 corners of the X/Y and then it slowly morphs into the other waveforms the closer it gets to the other corner.
Thanks for your help guys
- Attachments
-
- xy osc.fsm
- (24.19 KiB) Downloaded 1084 times
- glitchcpt
- Posts: 54
- Joined: Wed Oct 01, 2014 3:42 pm
Re: Help with Morphing X/Y Oscillator
so you have 4 oscillators. Lets name them based on the XY position that specifies them. We use Y coordinate to morph between left top and left bottom as well ass right top and right bottom. Then we use X coordinate to morph between the result of left side and right side.
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Help with Morphing X/Y Oscillator
Yes, that is exactly the idea.
They seem to pop out the other side as sums of each other etc
:edit:
I think i see where I went wrong
They seem to pop out the other side as sums of each other etc
:edit:
I think i see where I went wrong
- glitchcpt
- Posts: 54
- Joined: Wed Oct 01, 2014 3:42 pm
Re: Help with Morphing X/Y Oscillator
Thanks for your help!
Got it working, here it is:
Got it working, here it is:
- Attachments
-
- xy osc edit.fsm
- (22.11 KiB) Downloaded 1098 times
- glitchcpt
- Posts: 54
- Joined: Wed Oct 01, 2014 3:42 pm
Re: Help with Morphing X/Y Oscillator
nice one thank you Glitchcpt for sharing it.
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Help with Morphing X/Y Oscillator
Shouldn't they just be sums anyways?
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Help with Morphing X/Y Oscillator
Perfect Human Interface wrote:Shouldn't they just be sums anyways?
My idea was to have the pure waveforms when the X/Y selector is in one of the four corners
- glitchcpt
- Posts: 54
- Joined: Wed Oct 01, 2014 3:42 pm
Re: Help with Morphing X/Y Oscillator
So I am trying to add a second oscillator, using the same panel, OSC1 using left click and OSC2 using right click.
The right clicks code, doesn't release the node when I let go of the mouse button, I think I missed something in the original code,
the example is attached
The right clicks code, doesn't release the node when I let go of the mouse button, I think I missed something in the original code,
the example is attached
- Attachments
-
- xy osc edit Rclick.fsm
- (160.27 KiB) Downloaded 1078 times
- glitchcpt
- Posts: 54
- Joined: Wed Oct 01, 2014 3:42 pm
Re: Help with Morphing X/Y Oscillator
The "mouseRUpcaptured" method should be named "mouseRUp" ...You just did a typo I believe.
- KG_is_back
- Posts: 1196
- Joined: Tue Oct 22, 2013 5:43 pm
- Location: Slovakia
Re: Help with Morphing X/Y Oscillator
I just copy pasted from someone elses code, so that is probably the case
- glitchcpt
- Posts: 54
- Joined: Wed Oct 01, 2014 3:42 pm
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 50 guests