hex-spiral

Crates.iohex-spiral
lib.rshex-spiral
version0.1.0
sourcesrc
created_at2022-03-03 18:04:00.904407
updated_at2022-03-03 18:04:00.904407
descriptionA single-coordinate 2D hex grid.
homepage
repositoryhttps://github.com/ljedrz/hex-spiral
max_upload_size
id543001
size16,041
(ljedrz)

documentation

https://docs.rs/hex-spiral

README

hex-spiral

crates.io docs.rs dependencies

hex-spiral is library for working with 2D hexagonal maps using single-coordinate positions.

Overview

While most hex-grid-based 2D games use multiple coordinates, hex-spiral uses a single-coordinate spiral, where the central hex has the position 0, and further hexes are placed within theoretical hexagonal rings that surround it.

Commit count: 10

cargo fmt