Multiple Interactions with Sprite

scalf's picture


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)

4-color Gradient (Composition by jersmi)

Author: jersmi
License: Public Domain
Date: 2011.11.06
Compatibility: 10.6, 10.7
Required plugins:

A novel approach to creating a 4-color gradient using interaction patch, sprites and motion blur.

Voronoi Shader (Interactive - reworked from p_g) (Composition by gtoledo3)

Author: gtoledo3
License: Creative Commons Attribution-NonCommercial-NoDerivs
Date: 2011.10.06
Compatibility: 10.6, 10.7
Required plugins:

I was reading:

...and there was a really interesting shader, and video. The video showcased four interactive areas, making a voronoi, totally with a pixel shader, and I thought it was pretty cool.

The showcased code only had it setup for three areas, and there was no real setup / qtz, etc., so it was a bit of a fun challenge to add in the extra yellow area to do what it was doing in the video.

spring chain (Composition by dust)

Author: dust
License: Public Domain
Date: 2011.05.06
Compatibility: 10.6
Required plugins:

this patch shoes how to use springs and constraints to create a chain or rope like simulation.

Interaction data

DanieleCiabba's picture

Hello to every kineme addicted... I haven't written in this forum for long time...

I come back with a really interesting challenge

Do you know if there is a way to get to know the data passing through the interaction port?