TUIO cursors - need to keep information on each position to draw lines between them
in
Contributed Library Questions
•
1 year ago
Hi wondering if anyone can help with some TUIO implementation
I currently have processing readin in the tuio cursors and displaying an arc around each position no problem.
What im trying todo is store each position so that in a for loop i can call and render lines between all cursor positions. Once this is working and i can reference all of the cursors positions not within the tuio functions i can then redner more interesting graphical feedback.
Any suggestions.
I thought maybe a hashmap storing the cursors sessionID along with its x and y but maybe an arraylist is best ? this way i can within the addcursor and remove cursor inbuilt tuio functions i can access the arraylist to add and remove items.
Im a bit stuck and it seems so simple
Thank you
1