This is an assignment for my Computer Graphics class and I'll be implementing the DDA, Bresenham's, Parametric Equation, Circumference, Translation, Scaling, Rotation and Cropping algorithms.
This app is being made with python 3.6.1, and tkinter.
You should install Python 3.6.x
For Windows OS do it by clicking here.
For Linux systems, verify if your system already has python 3.6 installed by typing python --version
and python3 --version
on your terminal. If not, do it by folowing the next steps:
sudo apt-get update
sudo apt-get install python3
Verify the installation success by typing python3 --version
again. Any problems with installation, follow the steps on my python introductory course here.
Clone my repository to your computer by doing a git clone
:
git clone https://github.com/izabelacborges/cg-app-python.git
And when on the root directory for my project, execute python3 main.py
on your terminal.
- To use DDA Line plotting, fill the x1, y1, x2, y2 inputs and press the DDA button.
- To use Bresenham Line plotting, fill the x1, y1, x2, y2 inputs and press the Bresenham button.
- The Parametric Equation function is not implemented.
- To use Circumference plotting, fill the x1, y1, x2, y2 inputs and press the Circunferência button.
- The cropping/clipping function is not implemented.
- To use the Translation algorithm, fill the x1 and y1 inputs and press the Translação button.
- To use the Scaling algorithm, fill the x1 input and press the Escala button.
- To use the Rotation algorithm, fill the x1 input and press the Rotação button.
- Press Apagar to erase all things on screen.