#bresenham #game #sight

line_drawing

A collection of line-drawing algorithms for use in graphics and video games

16 releases (2 stable)

Uses old Rust 2015

1.0.1 Feb 21, 2025
1.0.0 Aug 10, 2021
0.8.1 Jun 6, 2021
0.8.0 Aug 7, 2019
0.6.0 Oct 29, 2017

#21 in Game dev

Download history 14687/week @ 2025-09-23 18475/week @ 2025-09-30 14274/week @ 2025-10-07 17558/week @ 2025-10-14 12161/week @ 2025-10-21 13806/week @ 2025-10-28 6322/week @ 2025-11-04 4225/week @ 2025-11-11 5244/week @ 2025-11-18 4366/week @ 2025-11-25 6703/week @ 2025-12-02 6535/week @ 2025-12-09 5632/week @ 2025-12-16 5366/week @ 2025-12-23 4128/week @ 2025-12-30 4481/week @ 2026-01-06

21,092 downloads per month
Used in 246 crates (25 directly)

MIT license

40KB
893 lines

A collection of line-drawing algorithms for use in graphics and video games.

Currently implemented:

Dependencies

~700KB
~14K SLoC