Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

tejas77/tower

Repository files navigation

Tower : A React-Native Device-Motion Example App

a simple example on how to use device motion in react-native application using expo.

Check out the Medium Post for detailed explanation.

Getting Started

I was looking into the Apple's Compass application which also has the leveling feature. I thought of creating the same application as an example to understand the physics of mobile device motion. After many thoughts, I thought to create an application which will show an illusion of a cylinder tower standing out with a shadow and our motion is the camera view looking at cylinder from different angles.

Installation

Open it in GitHub Desktop or git clone the repository or download the zip & extract the project.

Open the terminal in the project folder and type npm install.

Usage

Open the terminal in the project folder and type npm start.
The expo server will start and you can test it on any device by opening expo application or in any emulator.

Thank you

  • Give a star if you find this repository helpful.

Author

About

Tower : A React-Native Device-Motion Example App

Topics

Resources

Readme

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors