multi

Multiple Interactions with Sprite

scalf's picture

Hello,

I have been trying to make a slider that responds to direct interaction (mouse) and also to 2 finger drags (magic pad). So that I can click and drag the slider to a position and/or use a 2 finger gesture to drag the slider into a new position also. Sort of like how the song timeline interaction on itunes works.

The problem I have had is getting the values to blend together. For instance, when I click and drag (Mouse) the slider from the origin to a value the slider reverts to the initial position before moving in a (Gesture) making the blending between interactions jerky.

I'd ideally like to have this slider respond to mouse clicks, gestures, and any OSC input I define. The issue is getting the values to merge together without jerky transitions.

I know there is a real good way to do this. They are all over in most programs, how can this functionality be emulated in Quartz? It's like the 2 Finger Drag Patch needs to have an updated value of where the slider is when I click it that way there is not a gap between values when the interactions are switched.

Thanks for any suggestions

You'll need 1024's Selector Plugin (Handy anyways) http://1024d.wordpress.com/qc-plugins/

Multiple Finger Iterator

scalf's picture

I am trying to make a composition that can handle multiple fingers on multiple devices. It will have buttons and zones that will cause interactions and triggers. So instead of making a separate hit test for every finger by hand, I am trying to use the example "multi-touch fingerpaint" as a way to test this.

Since there is only one sprite in the iterator that renders as each finger, I tried to use the incoming x and y to trigger a hit test for all fingers that could be fit on the pad.

The hit test would trigger, however only the lead or most recent finger would be able to trigger the hit test.

Does anyone have an idea on how to make it so every finger that was registered could trigger a hit test using an iterator to reduce the patchwork involved to track say 10, or 15 fingers at a time.

Also, you need the kineme multitouch patch for this