Giter VIP home page Giter VIP logo

Comments (3)

gpanneti avatar gpanneti commented on August 24, 2024

Hello @derricksharp !

This is because Chrome added a new version of the orientation event, called deviceorientationabsolute. If window.ondeviceorientationabsolute is defined, you should use it instead of the standard deviceorientation event.

I made a little modification in the awe_gyro file to handle it when available but its a little bit too dirty for now to propose a pull request...

from awe.js.

awe-media avatar awe-media commented on August 24, 2024

Hi @derricksharp - @gpanneti is generally right. There's 'deviceorientation' which is "game based orientation" and there's 'deviceorientationabsolute' which is 'world based". But of course iOS is slightly different too.

You can see this functionality if you setup a free trial at https://awe.media. Here's an intro to adding geo content https://awe.media/support/creating-locative-ar-for-the-web

NOTE: We will be releasing this code as part of a new awe,js update in the near future.

from awe.js.

derricksharp avatar derricksharp commented on August 24, 2024

@awe-media & @gpanneti Thanks for the info. I put together a little function to get it working.

from awe.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.