利用重力傳感器製做紅包

咱們都知道如今微信搖一搖功能,今天我就想寫一個紅包程序。html <!doctype html> <html> <head> <meta charset="UTF-8"> <title>demo</title> </head> <body> <script> if(window.DeviceMotionEvent) { var speed = 25;//定義一個數值 var x = y =
相關文章
相關標籤/搜索