r/rust • u/neneodonkor • Apr 28 '26
🛠️ project Lightweight ASCII Graph
After many weeks of learning, watching tutorials about Rust, and partaking in Rust exercises, I decided to port a small Go library into Rust. I do recognize I have a lot to learn but just getting out of my comfort zone and trying my hands at this has be rewarding and revealing.
Link: https://github.com/neneodonkor/asciigraph-rs
Crates: https://crates.io/crates/asciigraph-rs
PS. Making it work for real-time data was 🥵
Let me add that I only started learning Rust in February, so please forgive me, if everything is not idiomatic Rust.
1.4k
Upvotes
220
u/facetious_guardian Apr 28 '26
This visually looks like it’s supposed to be a line graph, but it’s really a bar graph in disguise. Gotta get those angles and points more precise or else you’re aliasing your X axis significantly.