Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Accelerometer or Gyroscope with HTML5 Canvas?

Community Beginner ,
Oct 24, 2017 Oct 24, 2017

Is there a way to access a phone's accelerometer or gyroscope with Adobe Animate CC's HTML5 canvas feature? I understand we're using Create JS here so it's not super technical, but this is something there must be a relatively simple method to access? I'm not looking to do anything overly complex, just return a value when a device is tilted left/right - so although gyroscope is preferred, accelerometer would suffice.

1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 24, 2017 Oct 24, 2017
LATEST

Not the expert, but I found this article that could probably provide you with insights.

Mobile Gyroscope with Javascript and Quaternions Programming Tutorial Part 1 |

Thanks,

Preran

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines