| Crates.io | line_drawing |
| lib.rs | line_drawing |
| version | 1.0.1 |
| created_at | 2017-08-18 03:30:01.377675+00 |
| updated_at | 2025-02-21 11:44:30.012318+00 |
| description | A collection of line-drawing algorithms for use in graphics and video games. |
| homepage | |
| repository | https://github.com/expenses/line_drawing |
| max_upload_size | |
| id | 27950 |
| size | 56,482 |
A collection of line-drawing algorithms for use in graphics and video games.
Currently implemented:
Bresenham - An implementation of Bresenham's line algorithm.Bresenham3d - A 3-Dimensional implementation of bresenham.BresenhamCircle - Bresenham's circle algorithm.Midpoint - The mid-point line algorithm.WalkGrid and Supercover - implemented from this article by Red Blob Games.WalkVoxels - A similar 3-Dimensional algorithm that only takes orthogonal steps.XiaolinWu - Xiaolin Wu's line algorithm.