https://github.com/david-pena/drawing-lines-algorithms
Different algorithms to plot a line using Python
https://github.com/david-pena/drawing-lines-algorithms
algorithm python
Last synced: 9 months ago
JSON representation
Different algorithms to plot a line using Python
- Host: GitHub
- URL: https://github.com/david-pena/drawing-lines-algorithms
- Owner: David-Pena
- Created: 2021-09-21T07:23:36.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-21T07:28:01.000Z (about 4 years ago)
- Last Synced: 2025-02-15T04:51:17.622Z (10 months ago)
- Topics: algorithm, python
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Drawing-Lines-Algorithms
This is a brief compilation of some algorithms used to draw a line given two points (x,y), then we check the runtime of each one and determine the fastest.
- Basic algorithm (Using For loop)
- Basic algorithm (Using While loop)
- A better basic algorithm
- Incremental Algorithm
- Bresenham Algorithm