An intuitive and feature-rich drawing application built using Python's Tkinter library. This application allows users to create drawings using various tools and shapes, enhancing their creative experience.
- Pencil Tool: Draw freely with a customizable brush size.
- Eraser Tool: Remove unwanted parts of your drawing.
- Spray Tool: Create artistic spray effects.
- Shapes: Draw basic shapes like lines, rectangles, and circles.
- Color Picker: Choose your preferred colors for drawing.
- Save and Load: Save your artwork as a PNG file and load existing images.
- Clear Canvas: Easily clear the canvas to start fresh.
- Python 3.x
- Tkinter (included with Python)
- Pillow library for image handling
- Clone this repository:
git clone https://gi
- Clone this repository:
pip install Pillow
- Clone this repository:
python drawing_app.py
-
Select a Tool: Choose a drawing tool (Pencil, Eraser, Spray) or a shape (Line, Rectangle, Circle) from the "Tools" and "Shapes" panels on the right.
-
Adjust Brush Size: Use the +/- buttons under "Brush Size" to increase or decrease the brush size for your drawings.
-
Pick a Color: Click the "Pick Color" button to open a color picker dialog and choose your desired color for drawing.
-
Draw on the Canvas: Click and drag your mouse on the canvas to create drawings with the selected tool.
-
Save Your Drawing: Click the "Save" button to save your artwork as a PNG file. A file dialog will prompt you to choose a location to save your image.
-
Load an Existing Image: Use the "Load" button to open a PNG file and display it on the canvas.
-
Clear the Canvas: Click the "Clear" button to remove all drawings from the canvas and start fresh.