Is there a way to offset or change the coordinate zero point? Example if you would like to scale single finger/pointable position on x-axis from 0 to 256 from left to right, that is currently bit cumbersome to get happening as far as I understand.
Cheers, jokke
Comments
The Scale node will do just
The
Scale
node will do just that.I've attached an example snippet that takes a Leap Pointable's tipPosition's X value (-1..1) and scales it to 0..256.
scale.vuo
Thanks! Is there a way to get
Thanks! Is there a way to get current screens dimensions or aspect ratio in order to automatically calculate Y axis upper and lower limits?
Not currently, but this is an
Not currently, but this is an excellent idea and we'll be looking into it. Thanks!
@jokkeheikkila: In Vuo 0.7.0,
jokkeheikkila: In Vuo 0.7.0, we added a new
Get Window Dimensions
node.