| Copyright | (C) 2019 Francesco Ariis |
|---|---|
| License | BSD3 (see LICENSE file) |
| Maintainer | Francesco Ariis <fa-ml@ariis.it> |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Line.Draw
Description
Rasterisation of line segments on discrete graphical media (line drawing algorithm).
Example:
λ> bresenham (0, 0) (4, 2) [(0,0), (1,0), (2,1), (3,1), (4,2)]