Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Panning an image with head motion on Google Glass

Is there any solution for panning images using head motion? i.e. the 'Meet the Team' easter egg. Works very well on the easter egg!

Would be great to have this in the GDK (hint hint Google). I have found this library which works for horizontal panning and I will likely just adapt this if there is not another solution out there.

like image 713
Patrick Avatar asked Jan 12 '23 09:01

Patrick


1 Answers

Any solution right now would involve listening to the sensors manually and then translating the visible region of the view based on those values. It sounds like the component you linked does most, if not all, of what you need.

If you would like to see such a feature included as a public GDK API, feel free to file a feature request in our issue tracker!

like image 100
Tony Allevato Avatar answered Mar 19 '23 18:03

Tony Allevato