This repo contains python codes (using turtle) I wrote for my Computer Graphics course.
- DDA
- DDA using Fixed Point Arithmetic
- Bresenham
file: line_drawing_strategy.py
The abstract class for all line drawing algorithms.
file: DDA.py
The implementation of DDA algorithm.
file: FixedPointArithmeticDDA.py
The implementation of DDA algorithm using fixed point arithmetic.
file: Bresenhams.py
The implementation of Bresenham's algorithm.
- Clone this repo to your local machine.
- Make sure you have Python installed.
- Run
main.py
to see the results.