in Software

Android Paint Application

Android Paint Application

Android Paint Application

For our embedded systems class, we had to create a touch-based Paint application.

I started out by painting circles to the canvas wherever a touch event occurred. This did not work too well because the lines were not smooth.

Next, I decided to draw lines to the canvas. I sample every so often during touch events, and draw lines between the sampled points if there has been no touch leave event.