Patrick Jackson
Patrick Jackson

Reputation: 19446

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.

Upvotes: 4

Views: 228

Answers (2)

pscholl
pscholl

Reputation: 532

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

Upvotes: 4

Tony Allevato
Tony Allevato

Reputation: 6429

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!

Upvotes: 5

Related Questions