Lab: 7 PaintPot

Description:

In this lab, I had to create a app in which I am able to draw on the canvas with 3 different colors along with being able to choose the size of the paint brush. It must also contain a button for taking a picture of the work done and also a “wipe” button to delete all of the paint off the picture.

 

 

Code:

When one of the colored buttons are pressed, the color of the paint brush will change to the selected color. If the user clicks on the screen, a circle of the selected color will be drawn on the picture. The “TakePicture” button would take a picture and the wipe button will refresh the canvas. The “Smalldots” button will change the brush size to a small size while the “BigDots” button would make it large.

 

 

 

Screenshot:

These are the sample screenshots.

labbbbb 7   labbbbb 7 2

Leave a Reply

Your email address will not be published. Required fields are marked *