[fluxus] object picking

nik gaffney nik at fo.am
Wed Jun 29 12:19:00 PDT 2005


> what about:
> 
> (mouse-over) : returns id of the current object the pointer is over or 0
>                if none
> (mouse-button n) : returns true if the specified mouse button is pressed

this looks like it would be enough, in combination with grab, and the pdata
functions to be able to pick an object, and get its properties. correct?+

> (send-osc url arg1 arg2 ...) : send osc message

presumably this should be a liblo compatible url, ie; osc.udp://127.0.0.1:5557/
with arg1 being the osc address and any further args being optional data.

> I guess you'd need to set a different osc port for the destination, so

well, you dont _need_ to have a different port (if yr using udp) ,.  just
depends on your opinions about feedbakc.

> I'll change (start-osc) to (osc-source-host) and add
> (osc-destination-host)

if the send-osc function uses a host/url, there isnt really a need for an
extra function, except for the convenience of doing something like
(osc-send-host ip port) which would return a url suitable as a 2nd arg to
send-osc (as above.. )

also, maybe osc-receive-port is a bit clearer, as constrast to osc-send.
what do you think?

nk



More information about the Fluxus mailing list