Giter VIP home page Giter VIP logo

photobooth's Introduction

Overview

Drawing application that allows users to take a photo, select colors, draw. Additional features include saving, undoing and reset.

Setup

To start application, open in Android Studio and run.

Drawing

  • Drawing is done by creating a path and calculating a route between paths. Drawing circles directly to canvas based on movements could led to "gaps" if movement was quick. ie. If user goes from x:0 -> x:100 very quickly with a brush width of 100 need to ensure that there is 100 unique circles drawn

Saving

  • Photos are only accessible via app in external dir, can be accessed externally on emulator or via rooted device
  • Each layer is saved as a PNG with background

Tests

  • Only basicpPresenter tests were created, testing additional functionality would require significant mocking/ui/screenshot tests
  • Test can be run with ./gradlew check

Implementation Notes

  • File operations completed on main thread, future enhancement offload and provide appropriate loaders
  • Does not handle lifecycle events such as rotations. Would require persistance, reload mechanisms. Bundle not appropriate for images. Future enhancement

photobooth's People

Contributors

jeremyrempel avatar

Stargazers

 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.