Forums > MaxMSP

### help plz: controlling four points with one in a circle

Apr 14 2011 | 8:55 pm

Hi,

my math isn’t so great, and I am assuming my problem is actually pretty simple — with the right formula:

I have four points in an ambisonics "ambimonitor" object, 1, 2, 3, and 4, rotating.

1 and 3 are opposites, as are 2 and 4, a half rotation away from each way.

I want to control one point (1) and have the other three mirror the movements through the middle (zero).

my coordinates are being sent through XYZ. from 1 I multiply X and Y by -1 to get the coordinates for 3.

but what’s the formula for 2 and 4, each a quarter rotation away from 1?

I guess I need some serious math tutoring, one of these days, in the meantime, maybe someone can help me wrap my head around this

Apr 14 2011 | 10:44 pm

OK, I think after some inspection of the Max window I found a solution that works for me:

I inverted X and Y for point number 2, then processed *those* XY coordinates the same way by multiplying them with -1 to get point 4.

The movement look pretty, too..;)

Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP