Re: How to know if point is inside areas/shapes (Kinect)


Forums > Jitter > How to know if point is inside areas/shapes (Kinect)
Feb 26 2013 | 5:46 am

So I spent all of today making this patch to detect when a point is inside a specific shape in a 2D plane. This is useful for any type of 2D interaction that needs to have objects respond to the location of a finger, mouse, pen, light, etc… You can create multiple shapes that are individually triggered when touched. I do this by polling the color of the x,y point on the LCD object and assigning RGB values to indexes.

Right now I’m using it to create a virtual drum kit to be played with kinect.

Would love to do this in 3D but my skills with jitter are limited!

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required