Holiday notice: Cycling '74 will be closed Monday, October 9th. Manual authorization, support cases, and manual order processing will be delayed.

Oct 29 2009 | 2:58 pm

Hello,

If I have the X,y coordinates for 2 points in a graph (the range of which is -4 to 4) how do I measure the distance between them?

I appreciate that this may be a very simple trig problem but, shamefully, I am useless when it comes to maths. If only someone had explained the wonderful relationship between maths and music when I was at school I would have paid so much more attention!

The Context:

I am using the MSD library. I have created one mass which is attached by an elastic link to another. When one mass moves the other bounces around it thus creating a fun 3D interface. The link position is defined by four values (2 X and 2 Y). I want to use the link length as control data for a parameter on a synth.

I really appreciate any help you can give me with this one. I will say it to save you all the trouble..."I am dim as a bag full of arses for not knowing how to do this".

Nick