A very basic desktop app built using DearPyGui framework for sketching purposes.
- Draw straight lines
- Draw straight dashed lines
- Draw poly lines
- Doodle
- Draw rectangles
- Draw circles
- Draw arrows
- Draw 4-point Bézier curves
- Add text on canvas
- Add image on canvas
- Constraint lines to horizontal, vertical, or 45° by holding down the shift key
- Constraint rectangles to squares by holding down the shift key
- Constraint images to their correct aspect ratio by holding down the shift key
- Change canvas color
- Switch between dark and light mode
- Erase all drawn lines
- Save drawing as a JPEG, PNG, or PDF file
- Save drawing as a database file that can be opened and edited
- Undo and redo all tools used
- Reset the entire drawing pad
-
Make sure you have Python 3 installed and working.
-
Clone the repo:
git clone https://github.com/RahulShagri/SimpleDrawing-Desktop-App.git
- Install prerequisites using pip, preferably in a new environment:
pip install -r requirements.txt
- Run the SimpleDrawing.py file to start the application.
You can contact me using the messaging form or the emailing option on my engineering portfolio website.