breakpoint stuff

Discuss Lemur and share techniques.
Post Reply
oran-outan
Newbie
Posts: 39
Joined: 18 Dec 2011 17:30

breakpoint stuff

Post 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
Attachments
trigo-stuff.jzml
(12.74 KiB) Downloaded 78 times
ralf
Newbie
Posts: 1
Joined: 20 Jan 2012 19:13

Re: breakpoint stuff

Post 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
oran-outan
Newbie
Posts: 39
Joined: 18 Dec 2011 17:30

Re: breakpoint stuff

Post by oran-outan »

hi

thanks !
Post Reply