Vibe Coding Encyclopedia

Device tilt and shake

The phone changes the gravity in the screen in the direction of the devicemotion sensor and receives the shaking, so that the PC creates the same value with drag, arrow keys, and fast hand gestures.

Category
Input

Technical terms · DeviceMotionEvent.accelerationIncludingGravity · Tilt control · Shake detection · DeviceMotionEvent.requestPermission (iOS)

Related techniques

Technique document (Korean)