-
Notifications
You must be signed in to change notification settings - Fork 0
DOODLE
Savithashini edited this page Jul 3, 2021
·
10 revisions
WHAT IS DOODLE?
In simple words, a doodle is a picture or pattern that someone has drawn while thinking about something else or when they are bored. So if you are a
doodler this application is apt for you. We have used most of the available features in Tkinter and python to design this painting app.
WHY OUR DOODLE?
We have implemented many of the features available in MS paint. The uniqueness of our project is that you can draw in two modes:
π CURSOR MODE - using the mouse
π GESTURE MODE - using our hand
The GUI of this doodle app: https://drive.google.com/file/d/1Guu5DJRV8YetQHdwUqLXM010wPDQXJfg/view?usp=sharing
The available features have been given a gist below:
- You can draw lines and shapes, scribble, erase, fill color into shapes, zoom in or zoom out either using buttons or scroll using a mouse.
- You can set the canvas background color. The eraser automatically matches the canvas color.
- You set the outline color from the color palette and fill color from the bucket for shapes.
- You can open an image, open a new window, save or quit from the file menu.
- You can select a particular region to snip(using the snipping tool), cut or copy inside the canvas as required, and paste wherever you need.
- You can also add text to the canvas.
- Learn how to draw in gesture mode from the tips in the help menu.
- Switch modes to draw from the mode menu.
- You can track the mouse coordinates and know what mode you are in from the status bar.
- You can change the pencil and eraser size
- You can customize your cursor using
root.configure(cursor="filename.cur")
HOW TO DRAW USING GESTURES:
π First, keep your five fingers apart for detection and proceed with the below steps as per your wish. If any of the below steps does not get detected,
then repeat by keeping your five fingers apart and repeat the mode you need.
**Cursor movement mode**
π Initially keep the index finger and middle finger apart such that the red dot appears. Then move down your middle finger and use the index finger
to move the cursor.
**Clicking mode**
π Join the middle finger and the index finger together such that the green dot appears, then immediately widen them to click.
** Drawing mode**
π Join the middle finger and the index finger together such that the green dot appears, then move down your middle finger without widening to draw. After drawing widen the two fingers to release.
FOR REFERENCE: https://drive.google.com/file/d/1LRgU7RueZwiS1iSlrAeOCPU2u1iVoFb5/view?usp=sharing