Page 1 of 1

breakpoint stuff

Posted: 22 Feb 2012 15:06
by oran-outan
hi

2 questions !

- i try to send the breakpointat position (x, y) via osc message. this run good and i can write it on a monitor...
when i write it on script like a variable inside, the dot stay in orange. how make to send it via osc message ?

- for trigonometric stuff...
i want used angle variable... when i write = angle(x-0.5, y-0.5) on a ringarea he run good, but i like to do the same with 2 point on a breakpoint. for know the angle/direction between the 2 points.
i have write on a variable = angle(x[0]-x[1], y[0]-y[1]) but it doesn't work.
what i missed or have wrong ?

the template in link, maybe can help

thanks & best
O-O

Re: breakpoint stuff

Posted: 01 Nov 2012 22:54
by ralf
it's a late reply, but i've just been struggling with the same problem.
solution:

create a variable like

ang= (angle(x[0]-(x[1], y[0]-y[1])+3.1416)/(3.1416*2)

check scale to 0 to 127 in the MIDI properties

this will give you the angle between 2 balls in a multiball, scaled to midi

cheers

Re: breakpoint stuff

Posted: 13 Nov 2012 20:28
by oran-outan
hi

thanks !