Search the Community
Showing results for tags 'motion sensor'.
-
How do you guys do motion detection (if any) in your apps? Motion detection is when you detect when the user shakes their phone (for example). I just tried the following in Android Chrome to no avail: devicemotion event API. Supposedly it works on Chrome but it had no effect on my phones. See https://developer.mozilla.org/en-US/docs/Web/API/DeviceMotionEvent. Interestingly, it did work on Firefox Focus this code snippet for cross-browser compatibility. Again, it did not work on Android Chrome. See https://stackoverflow.com/a/4378439/555493 the Gyroscope API. See https://developer.mozilla.org/en-US/docs/Web/API/Gyroscope Curious to see what people do to handle device motion. Currently, the best approach seems to be to use something like Flutter to shove device motion events into state, render the app into a Web view, and then query the motion state from the Web view as needed.
- 3 replies
-
- motion sensor
- gyroscope
-
(and 2 more)
Tagged with:
-
Hi guys, We have been building a framework called UniWand that enables controlling online 3D content using smartphones as wand controllers with latency < 20ms. It can be used to control WebGL models based on the how you hold the phone in your hand. Here is a one minute video showing some of the demos: http://www.youtube.com/watch_popup?v=XFcH1Rm8Doc&vq=large You can try out the beta version from this location : http://app.uniwand.info The other useful features that it can enable are: Second screen for online videos (similar to that of YouTube) Tablet companion apps for e-learning content. We’re curious to know your opinions and queries. Hope you’d like it! Thanks!
- 1 reply
-
- 3D
- model-viewer
-
(and 8 more)
Tagged with: