Forums > Jitter

From two points (x1,y1) and (x2,y2) to jit.gl.graph "rotatexyz" and "position"

July 11, 2011 | 7:51 am

Hi, i’m new in this forum,
For a my project i want to positioning a jit.gl.graph from a couple of (x1,y1) (x2,y2) coordinates from cv.jit.touches.
Have you some ideas?? Thanks

– Pasted Max Patch, click to expand. –

July 13, 2011 | 2:23 am

I’m having trouble understanding exactly what you want.

Do you want graph to draw a line between x1 y1 and y2 y2?

maybe send a pick of what you are wanting?


July 13, 2011 | 2:24 am

i mean pic as in picture, not pick.

its late.


July 18, 2011 | 3:44 am

Hi Lorenz,
I think this should lay out what you’re looking for. The key part is the cartopol object (the help patch will give more information). The patching here is sloppy so I wouldn’t recommend copy/pasting this in, but it should illustrate how to get all the information you might need:

– Pasted Max Patch, click to expand. –

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