Crates.io | line_drawing |
lib.rs | line_drawing |
version | |
source | src |
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 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.