Forums > MaxMSP

Draw Line in 2D to show Movement of XY Pad



Sym
Nov 11 2013 | 11:02 am

Hey, I’m trying to enable the user to draw a line and then have the Slider of a XY Pad follow this Line in a 2D-Space when triggered.

I managed to do it by sending the LCD Output with a Metro to a Coll Object. But the problem here is that if the user moves slower or faster while writing the movement it’s played back the same.

I would like that the used can Edit the Way like in the Function Object. Does anybody have an idea how to achieve this or some examples in to realize this in Jitter?


Nat
Nov 11 2013 | 11:52 am

Something like this ?

<code>
-- Pasted Max Patch, click to expand. --

</code>


Sym
Nov 12 2013 | 2:36 am

Hey Nat! Thanks for your reply. Yeah the idea is right, but the problem with Multislider is that I’m looking for a solution where you could have multiple points on the same location on the x-axis.


Sym
Nov 12 2013 | 7:50 am

Something like in the new Animoog App for the iPad, that would be a good example.

Nov 12 2013 | 8:11 am

[mgraphics]?


Sym
Nov 12 2013 | 12:50 pm

thanks yaninki, that seems like the way to go!

is it possible to combine the mgraphics with some jit.gl objects in the same jit.pwindow?

Nov 12 2013 | 2:28 pm

I’d use jit.gl.sketch for that, although it does take a little more work to handle.


Sym
Nov 13 2013 | 5:36 am

Thanks Wetterberg! jit.gl.sketch seems like the right way to go and I can combine it easily with the gridshape objects.

Viewing 8 posts - 1 through 8 (of 8 total)

Forums > MaxMSP