A Bitmapper's Companion - zine/book about bitmap drawing algorithms and math with code examples in Rust
A small zine/book written in LaTeX. In progress. See Building section below for how to build.
Samples
--------
Building
Run make
, output will be in the ./build
directory.
To run the rust example binaries, first you can inspect them with ls ./src/bin/
, for example:
$ ls ./src/bin
atkinsondither.rs
beams.rs
boundingcircle.rs
bresenham.rs
distance_between_two_points.rs
floyddither.rs
fonts.rs
hilbert.rs
introduction.rs
rotation.rs
scale.rs
shearing.rs
smooth_scale.rs
xbmtors.rs
zcurve.rs
Then execute one with cargo run --bin
for example cargo run --bin atkinsondither
.