Skip to content

A beginner-friendly paint program built with Python's tkinter, featuring freehand drawing and color selection on a canvas.

Notifications You must be signed in to change notification settings

suragaafar/PaintProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎨 Paint – Python Drawing Program

This is a custom Paint program built using Pygame and Tkinter, created as my very first Python project in Grade 11 Computer Science.

The program lets users draw on a canvas using different tools, pick colors, use stamps, and even add music—all while learning how graphical user interfaces work behind the scenes.


✨ Features

  • 🖊️ Pencil, rectangle, circle, hexagon, spray, and fill tools
  • 🎨 Color palette and color preview
  • 🧽 Eraser functionality
  • 🖼️ Stamps and image uploads
  • ⏮️ Undo and Redo history
  • 🎵 Music button
  • 📂 File upload using Tkinter's file dialog
  • 📏 Clean layout with a drawing canvas and tool selection area

💻 Technologies Used

  • Python 3
  • Pygame – for graphics and UI
  • Tkinter – for file selection

▶️ How to Run

  1. Make sure Python is installed: Download Python
  2. Install Pygame if you haven't already:
pip install pygame
  1. Save or clone this project folder.
  2. Run the program in your terminal or IDE:
python Paint.py

Note: You should have fullscreenpicture.jpg in the same directory for the background to load properly.


🧠 What I Learned

  • How to build a graphical user interface from scratch

  • How to handle events like mouse clicks and keyboard presses

  • How to organize different drawing tools and functionality

  • How to use libraries like pygame and tkinter in real-world projects


📸 Screenshot

Here's what the Paint program looks like while running:

Paint program Screenshot

About

A beginner-friendly paint program built with Python's tkinter, featuring freehand drawing and color selection on a canvas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages