Simple pixellated line-drawing algorithm
Bresenham is one of the canonical line drawing algorithms for pixellated grids. Given a start and an end-point, Bresenham calculates which points on the grid need to be filled to generate the line between them.
$
pkg install p5-Algorithm-Line-BresenhamOrigin
graphics/p5-Algorithm-Line-Bresenham
Size
12.4KiB
License
ART10, GPLv1+
Maintainer
bokutin@bokut.in
Dependencies
1 packages
Required by
0 packages