Saving OSC coordinates to achieve incremental movement

Yes absolutley, yes I saw it, it pointed me towards a solution for the OSCmessage when I am using a different touch software/hardware then TouchOSC.

“If there’s already an address pattern that it recognizes, then it will just update the existing value with the incoming one.”
This works fine with TouchOSC, which I currently use.

Essentialy I need the last touch point safed to use it for a new point and give the new point the startpoint of the last touch point.
This why I evaluate the incoming coordinates. True when it changes, false when it doesnt change.
I tried to write a script, which saves a coordinate when the state of true and false changes, but it didn’t save anything unfortunatley.

This helped with the duplicated numbers, but its the same problem with getting rid of the CSet points.


osc-distinct_numbers_2024Feb18s.gh (17.9 KB)