Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ronniechong/js-wallclock

Experimentation on mobile motion event
https://github.com/ronniechong/js-wallclock

Last synced: about 1 month ago
JSON representation

Experimentation on mobile motion event

Awesome Lists containing this project

README

        

##js-wallclock##

An experimentation on mobile motion event

###Demo###

This is only viewable on mobile devices

http://ronniechong.github.io/js-wallclock/

###Usage###
* Include the CSS and JS scripts at the bottom of the body
* Instantiate wallClock class


var wallClock = new wallClock(50);
wallClock.init();

###Parameters###
`var wallClock = new wallClock(offsetvalue);` where *offsetvalue* is a value to offset the tilt for RotateX and RotateY

###Calibration###
Clicking the adjust icon on top right will recalibrate the orientation.

###Devices/OS Tested ###
Devices | Operating System | Web Browser |Outcome
:--|:--|:--|:--
OnePlus One | Android 4.4 | Chrome | OK
Nexus 5 | Android 4.4 | Chrome | OK
Nexus 4 | Android 4.4 | Chrome | OK
Nexus 4 | Andriod 4.4 | Dolphin | Buggy
iPod Generation 5 | iOS 7 | Safari | OK
Samsung Galaxy S3 | Android 4.3 | Stock | OK
Samsung Galaxy S3 | Android 4.0 | Stock | OK
Sony Xpheria ZR | Android 4.4 | Chrome | OK
iPhone 5 | iOS 6.1 | Safari | Buggy on orientation