Giter Club home page Giter Club logo

directional-motion-based-undo-redo's Introduction

directional-motion-based-undo-redo

System Requirements

  • For running the code, any modern computer will work.
  • For running the application,
    • An Android phone that has an accelerometer built-in.
    • Latest version of Mozilla Firefox or Google Chrome.

Instructions to run the code

  • Download ZIP from the repo - https://github.com/anaghadudihalli/directional-motion-based-undo-redo.
  • This project uses accelerometer data. So, even though you can open the index.html file on a desktop, you cannot test the undo and redo features.
  • Steps to run this code on a computer while debugging on an Android device (steps taken from here):
    • Connect the android phone with your computer using a USB cable.
    • Open the Developer Options screen on your Android. See Configure On-Device Developer Options.
    • Select Enable USB Debugging.
    • On your development machine, open Chrome.
    • Go to chrome://inspect#devices.
    • Make sure that the Discover USB devices checkbox is enabled.
    • Connect your Android device directly to your development machine using a USB cable. The first time you do this, you usually see that DevTools has detected an offline device. If you see the model name of your Android device, then DevTools has successfully established the connection to your device.
    • If your device is showing up as Offline, accept the Allow USB Debugging permission prompt on your Android device.
    • Open Chrome on your Android device.
    • In the chrome://inspect/#devices, you see your Android device's model name, followed by its serial number. Below that, you can see the version of Chrome that's running on the device, with the version number in parentheses. Each open Chrome tab gets its own section. You can interact with that tab from this section.
    • In the Open tab with url text box, enter a URL and then click Open. The page opens in a new tab on your Android device.
    • Click Inspect next to the URL that you just opened. A new DevTools instance opens.

Instructions on how to use

Credits

Used the Simple-undo JS package from https://github.com/mattjmattj/simple-undo.git.

directional-motion-based-undo-redo's People

Contributors

anaghadudihalli avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.