Welcome to %s forums

BrainModular Users Forum

Login Register

Filter datas in array

I need help on a Patch
Post Reply
Gilsornette
Member
Posts: 280
Contact:

Filter datas in array

Unread post by Gilsornette » 09 Feb 2023, 10:49

Hello,

I'd like to get specific datas from Leap motion Gesture; i.e. "swipe left" which begin with ID 200 and have 11 different values.
How can I filter easily those datas from the gesture array? Knowing that those datas are melted with other starting with different ID's (but each time with the eleven values after).
I'm looking for a kind of module (or a way to do) like Array extract but instead of input "Start pos" have an "ID" input.
I hope it's clear.
Thank you in advance.

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 10 Feb 2023, 08:55

some useful modules in you case:
- array -find-index (to search 200)
- array-extract (o extract 11 elements from the position found above)


Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests