Giter VIP home page Giter VIP logo

warpic_3.0's Introduction

WARPIC_3.0

Warpic consists of an Android application and a Web app. The android app handles the user input and can save the animation to be viewed at a later date on a web page.

#####Running the Project Download the Android SDK and follow the instructions to get a simple hello world application up and running. http://developer.android.com/sdk/index.html

Set up your dev environment by following these instructions for running processing for android in eclipse. http://blog.onthewings.net/2013/04/25/setting-up-a-processing-android-project-in-eclipse/

Download the project as a .zip file and unzip it. Import the source code into eclipse.

Choose run on device.

#####Android Code Components:

WarpicActivity.java-> Handles the rendering of Warpic. Also intercepts motion events from the Android System and feeds them to the MultiTouchController Object to be handled. Note that the touch events are queued as they are recieved by the system and then handled once per frame.

MultiTouchController.java-> Handles a variable number of fingers of user input. Important methods are touch, lift, and motion.

Texture.java-> stores and instantiates the grid. Implements the warping methods that operate on the grid

Menu.java -> Holds all of the buttons that are used for user interaction.

MyMotionEvent.java -> Stores the important data of the android motion event. This object is passed to the MultiTouchController to be processed.

#####WebApp Code Components

Runs processingjs. Basically, the Android processing graphics code was run within the processing ide to generate a javascript version of Warpic. As the webpage is loaded by the browser, the url is parsed for an unique id that identifies the animation. We load the motion path and the image and display the warp.

All server communication is done using a service called Parse.com. When a user decides to save an animation within the android application, we use Parse's api to save the data to their servers. Parse makes requests from the web application for the correct data.

warpic_3.0's People

Contributors

brianedmonds90 avatar

Watchers

 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.