Skip to content
/ tower Public

Tower : A React-Native Device-Motion Example App

Notifications You must be signed in to change notification settings

tejas77/tower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published