I’m playing around with an IR multitouch frame, I’m slowly moving my patches over to VL, but am struggling a bit to try to replicate this particular patch.
Basically it takes the touches that occur on the touch frame, and keeps their XY coordinates after they have been released, and give me time to make them disappear slowly. Ideally I’d like to get this patch working right before trying to replicate in VL.
Still trying to get this working… Hi folks, just to clarify…
I’m trying to use a multitouch surface to start some particle to emit, but only on the release of the touch, while touching I’d like the particle to remain on the touch xy, and then on release of the touchpoint fly away. My touch surface can handle 10 simultaneous touches at a time, I want to queue the positions so that when you release, the touch doesn’t return a null, but leaves the last position of that point. As each new touch point comes in I want to keep the last position for the duration of it’s lifetime, and then it can disappear.
Thanks heaps for that Joreg, been making some good progress, have added some acceleration, and am trying to pick a colour based on x location of each touch, then saving that colour for that particle on release. Wonder if you can have a quick look and see if you can see where I’ve gone wrong. I’ve added another concat, so that I can set the current position of the initial location of the fingers, and also draw the particles which have been given a colour.
What seems to be happening is the colours are shifting as new ones are added, and the update isn’t quite happening right…
One thing that I had in my original non vl was that along with the release of the finger from the surface, it would also create a particle based on a y trigger, I divided the screen into 40, and used a s+h to collect the XY if the Y = a round number between 1 and 40. Sort of like if you had strings, and each time you pass a string it plays it, along with any note when you release your fingers from the surface.
I’ve pulled the points back in, but somethings not quite right…
Here’s a 4v example that shows the trigger, my touch monitor is flipped 90 degrees so the colour selection works right in touch, but not quite right with the mouse, but it’s more to see how when you move the mouse as it hits one of the 40 triggers vertically it fires off another bar.Touch Buffer.v4p (45.1 KB)
Been loving the patch @joreg, and been doing some variations, something that’s eluding me is I’ve been trying to get a single particle be emitted at the time of contact, I would do it with a togedge in vvvv, but haven’t figured it out to do the same operation in VL.