摘要: init(); var SHAKE_THRESHOLD = 3000; var last_update = 0; var x = y = z = last_x = last_y = last_z = 0; function init() { if (window.DeviceMotionEvent) { window.addEventListener('devicemotion', device... 阅读全文
posted @ 2016-04-13 11:01 fang_beny 阅读(335) 评论(0) 推荐(1) 编辑