8000 GitHub - richtr/doe at 0.7
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ doe Public

An emulator for building and debugging device orientation and screen orientation based web applications

Notifications You must be signed in to change notification settings

richtr/doe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doe

Doe is a highly capable device and screen orientation emulator for developing and debugging sensor-related web apps on desktop computers

It can be used to build and debug device orientation and screen orientation aware applications without needing to constantly test it on different devices.

If it works in doe then it works on devices.

Usage

Add the Device Orientation Emulator script to any web page you want to allow the emulator to run on when device orientation event support can not be detected:

<script src="https://richtr.github.io/doe/doe.js"></script>

That's it!

Now whenever this page loads and the current device does not support device orientation events this library will ask the user if they want to run your web page in the emulator :)

Using this emulator

Once you have included the JavaScript file explained above you will be able to load the emulator.

You should see a screen like this:

Now you can play about with the emulator's tools to change the orientation of the device and the screen.

Demo

In any web browser that does not support device orientation (e.g. Desktop browsers) open one of the following pages:

https://richtr.github.io/threeVR/examples/vr_basic.html

https://richtr.github.io/Marine-Compass/

https://richtr.github.io/Full-Tilt/examples/vr_interactive.html

This emulator also supports the Screen Orientation API. If your browser does not support the Screen Orientation API then you can open the following page:

https://people.opera.com/richt/release/tests/doe/screenorientation.html

If your browser does not support Device Orientation Events then you will be asked if you want to load these pages in this emulator.

License

MIT. Copyright © Rich Tibbett.

About

An emulator for building and debugging device orientation and screen orientation based web applications

Resources

Stars

Watchers

Forks

Packages

No packages published
0