bind grid to object?
I basically want to bind my grid to a real life object – in this case a square made of cloth. I want to be able to turn it (with a push pin in its middle so it stays put), the grid imitating the direction it rotates. the idea was to use it as a volume knob in an installation.
I’m rather new to jitter & apparently haven’t come up with the right key words yet (for this issue must have been marked off quite some times) – the search function didn’t bring me luck this time..
thankful for any point in the right direction..!
all the best
initial patch (nothing new):
----------begin_max5_patcher---------- 672.3oc0VlsiaBCEF9ZxSgEWmh7Bl.8t9bTMZDKNDOBrofiRZGMu601PVaHg PVloZzfvGax42e9r32m33lHWyZbAeG7Sfiy6SbbrlLFb5F63VFuNsHtwtLWA akL4M2osSoXqUVyEx3rjXQ9lIlKEpF9eXlIQXOXm4pXU5BtH+0ZVpp0sDBUO M.QLOCPlmXnGD7R2mHWpJXJ0uqXsq205lsSyyr9WqouEP126h3R6W39iZdbw lYDKK4B8umcyf1Yr0KsVMF+XxDyioCjJkrll3b1+fkj57D.z72Tv712wTpYT ESX3C.APilYX6pz3xxNT34n1oIl+URL7ciX8DG8FW4UjlA7AoKhqADrFX9vq mPzYVxPCsjAiubXk1yuVFqp4qcm1CtHAiL.KUVHqa8iM.G5EFAQQAl2fcug1 SbGhW7cLfbdsV0FLAPTH.A03U+u98ofwk9hZC95BEQggiLTj.+zBEUx77hsn 5TAS1MUWNG7xgRbg5j6QT3CtLTOIUkLUsTWz3jmtHOZDEEN6Ra+.6ALM3FJP iweZmw8kOjVHaXijKn.5NvPFafOl7kCJRcyowxD79LIXrLg9UruzuTd40wIm sozPylPDaCpMUOu0NS3n+a5LYHY0JtHStx8h8uirUaIcEc8OKl5us8YIPUMq gITwJtTrm.fsznOuyyJXZRzv5u.99vw9ctEbwwW11t0M1OjXMxk0oa1XapR. 149LVihKrZd+EEcvhVvyxX142z+tjmUI0cm5DAZluGUe9hrG8Ay1N.7xIOXG rXoOBwRdLhMXHj0bQ4qQr2nlLWT3x.D+T0zQt69bndiZxbg7KpIxyESQCQRA OWLAe.ZBouwuNEDShr4iAaGbq4i9O.wR78eHhcPIEGg+q6zVO3iI+EfFNV.5 -----------end_max5_patcher-----------
You are looking at a typical computer vision application here.
Check out cv.jit by Jean-Marc Pelletier, and the examples in particular. You are likely to find stuff that will bring you at least halfway.
thanks for the quick reply, EMV!
the only cv.jit from pelletier’s library that suits my intention would be the cv.jit.features object (..my thesis as a noob). all I’d have to do is feed cv.jit.features with exactly (!) 4 points: all 4 vertices of my predefined square.
but how can I prevent cv.jit.features from letting my hand interfere with the feature’s initial coordinates? it’d be a disaster if my fingers would relocate single features.. (thus destroying my square)
I’m still stuck on this, studying the cv.jit library as suggested..
it’s not the movement of my hands I want to capture, merely the movement of a single square.
anyone know how to make my (jit.lcd) frame imitate its movements (respectively getting data from a 2-d real life object with non-varying proportions)?
all the best..!