A
A
Andrew2015-09-15 21:50:17
css
Andrew, 2015-09-15 21:50:17

Animation on the phone?

Hello!
I want to make an animation in which an element on the computer, when clicked, and on the phone, with any movement, should move down a certain distance. When I click, I'll do something else, but how to do it on the phone when the phone moves? Please help me in this matter, I will be grateful for examples, literature, tutorials.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Ineshin, 2015-09-15
@IonDen

Start here: www.peterfriese.de/how-to-use-the-gyroscope-of-you...

G
Greg Popov, 2015-09-16
@Gregpopov

Read the accelerometer data on your phone. Here's your push.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question