A collection of line-drawing algorithms for use in graphics and video games.
Currently implemented:
bresenham
through [bresenham-rs
].walk_grid
and supercover
implemented from this article by Red Blob Games.Bresenham3d
- A 3-Dimensional implementation of bresenham.WalkVoxels
- A similar 3-Dimensional algorithm that only takes orthogonal steps.