Forums > Jitter

how do I draw in jit.gl.gridshape with x,y coordinates?

April 18, 2009 | 7:59 pm

Hello -

I am trying to track points of light from a multi-touch interface and use the x,y tracking coordinate to draw trails of light. I have figured out how to track several points of light using the cv.jit objects but I can not figure out how get this data to talk with the jit.gl.gridshape object. I keep getting the error message "jit.gl.gridshape doesn’t understand """.

I would greatly appreciate your help! My deadline is quickly approaching……

Thank you!
Lisa Marie

(see attached file)


April 18, 2009 | 8:14 pm

hi,

Hope this can help. I think is a good way to have multi grind shapes for each blobs.

Luis Marques


April 18, 2009 | 11:08 pm

Yes!

This is exactly what I needed to move forward.
Thank you so much for responding to my question!
I am slowly, slowly learning…..

Lisa Marie


April 27, 2009 | 3:07 am

Hello.
I have a question about using jit.spill with the cv.jit.blobs.centroids object. In my example patch
I am trying to get the x,y coordinates of a blob. It seems
like the jit.spill object doesn’t recognize the x,y coordinates
of the first blob. It only starts listing the numbers when the second blob appears. Can someone tell me if this is how the jit.spill object is supposed to behave and if not, how I can get it to list numbers when there is only one blob? If jit.spill is supposed to behave this way, is there a different object I can use to list the x,y position information for every blob, even if there is only one?

Any help would be appreciated!
Lisa Marie

– Pasted Max Patch, click to expand. –

April 27, 2009 | 3:32 am

hi,

try jit.iter

Luis Marques


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