Support

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

Post any examples or modules that you want to share here

Help with Morphing X/Y Oscillator

Postby glitchcpt » Thu Nov 06, 2014 10:33 am

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 :D
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

Postby KG_is_back » Thu Nov 06, 2014 11:08 am

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

Postby glitchcpt » Thu Nov 06, 2014 11:16 am

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 :)
glitchcpt
 
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm

Re: Help with Morphing X/Y Oscillator

Postby glitchcpt » Thu Nov 06, 2014 11:20 am

Thanks for your help!

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

Postby Nubeat7 » Sun Nov 09, 2014 3:58 pm

nice one thank you Glitchcpt for sharing it.
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: Help with Morphing X/Y Oscillator

Postby Perfect Human Interface » Mon Nov 10, 2014 10:06 pm

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

Postby glitchcpt » Tue Nov 11, 2014 7:39 am

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 :D
glitchcpt
 
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm

Re: Help with Morphing X/Y Oscillator

Postby glitchcpt » Tue Nov 11, 2014 11:27 am

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 :)
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

Postby KG_is_back » Tue Nov 11, 2014 11:44 am

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

Postby glitchcpt » Tue Nov 11, 2014 12:48 pm

I just copy pasted from someone elses code, so that is probably the case :oops:
glitchcpt
 
Posts: 54
Joined: Wed Oct 01, 2014 3:42 pm


Return to User Examples

Who is online

Users browsing this forum: No registered users and 72 guests