Touch Buffer with multitouch ir frame

hey superfly, nice example.
i tried to implement what i understood from your description and added comments. hope it is clear.
superfly.zip (9.4 KB)

also have a look at this example. not exactly the same, but similar enough it could help you understand things: