LeapMotion - how to use LeapMotion on Cables - SOLVED

Dear, Cables Community

I’m trying to create an interaction with LeapMotion.
Using the Websocket and ObjectGetNumber nodes, the currentFrameRate data could be obtained.

I would like to get ‘palmPosition’ data, but I don’t know how to set the key.
Please give me any advice.

I’m glad to give advice on other methods, because I’m not particular about websoket.

Thanks, Junki.

LeapMotion JSON File Capture


i don’t have my leap motion by hand(!) right now.

but look at this mockup: https://cables.gl/edit/eYKKxQ

it creates a json structure like in your screenshot.
then it gets the single components, like objects,arraya and numbers

please click every op and click the magnifiing glass next to the result output port. there you see that element of the structure.
last one on the bottom finally gets the position number values of the palm

hope that helps!



and please let us know if you are successful :slight_smile:

1 Like

Thank you!

I got my hand movement data from LeapMotion!
I can get specified data from JSON with a data structure like a mockup!
I understood Cables & JSON a little.

I’ll post a patch when I can make something public.

Thank you so much!! :smiley:

1 Like