Panning your head with Google Glass

Is there any solution for panning images using head movement? that is, 'Meet the team's Easter egg . Works very well for an Easter egg!

It would be great to have this in GDK (Google tooltip tooltip). I found this library that works for horizontal panning, and I will most likely just adapt this if there is no other solution.

+4
source share
2 answers

Any solution right now will involve listening to the sensors manually, and then translating the visible area of ​​the view based on these values. It seems that the component you are linking does the most, if not all, of what you need.

If you want this feature to be included as a public GDK API, feel free to write the feature request to the error tracker .

+5
source

I implemented something like this. Maybe you want to check it out: https://github.com/pscholl/glass_snippets/tree/master/Head%20Image%20View

+4
source

Source: https://habr.com/ru/post/1523544/


All Articles