This is the Xiaolin Wu line algorithm. It takes the end points of one line at a time and outputs the coordinates of the line between the end points. This improves upon the Breshenam line algorithm which simply outputs blocks and does not allow for a line to be part of two pixels (eg. a diagonal line).
sachinruk/xiaolinwu
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
About
This is the Xiaolin Wu line algorithm. It takes the end points of one line at a time and outputs the coordinates of the line between the end points. This improves upon the Breshenam line algorithm which simply outputs blocks and does not allow for a line to be part of two pixels (eg. a diagonal line).
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published