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
breakpoint stuff
-
- Newbie
- Posts: 39
- Joined: 18 Dec 2011 17:30
breakpoint stuff
- Attachments
-
- trigo-stuff.jzml
- (12.74 KiB) Downloaded 77 times
Re: breakpoint stuff
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
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