This project is a showcase of algorithms for drawing computer graphics primitives implemented in Python. It uses the Tkinter library for the graphical user interface.
- Line drawing using Bresenham's algorithm and DDA
- Circle drawing using Bresenham's algorithm
- Line clipping using Cohen-Sutherland and Liang-Barsky algorithms
- Geometric transformations (translation, rotation, scaling)
-
Clone the repository:
git clone https://github.com/PedroGabrielBHZ/CG_TP cd computer-graphics-showcase
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate
-
Install the required python packages:
pip install -r requirements.txt
-
Run the application:
python main.py