Starter code for an Android drawing app

edited November 2013 in Android Mode

Hey everyone,

I've just posted a 'template' app to Github that people can fork and customize to make their own unique drawing app.

It's based on agents that follow as you touch-and-hold on the screen, drawing onto an image buffer. I simplified the actual drawing algorithm to what amounts to just an easing, but you can customize how the agents move and draw to create more interesting patterns.

More importantly, I've included a simple controlp5 settings screen that scales based on device resolution and size, as well as the functionality to save an image to the media Gallery, step back with undo, and saving state when the app is paused or shut down. So in other words a lot of the really annoying Android-specific stuff is already taken care of so you can get down to the business of making something look good.

The template code is GPL'd so you can use it in your own open-source projects.

Fork and enjoy!

https://github.com/joshgiesbrecht/gen-drawing-template

Tagged:
Sign In or Register to comment.