hexeng
: a crate for handling hexagonal tilings / grids / tesselation
A Rust library crate providing functions to:
- Convert between Axial hexagon coordinates and cartesian space.
- Apply an arbitrary “view” transform as necessary.
- That’s it for now!
Demo
cargo run --example demo
More to read
- API Documentation (with examples)
- Demo code
- Explanatory notes
- RedBlobGames hexagon notes - inspiration for much of this.
Other useful crates
Some other crates that provide hex tiling algorithms:
License
GPL 3.0 or later.