Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ronniechong/js-wallclock
- Owner: ronniechong
- Created: 2014-05-20T12:31:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-03T11:17:50.000Z (almost 10 years ago)
- Last Synced: 2024-04-14T12:59:02.668Z (9 months ago)
- Language: JavaScript
- Size: 262 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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