Crates.io | hex-spiral |
lib.rs | hex-spiral |
version | 0.1.0 |
source | src |
created_at | 2022-03-03 18:04:00.904407 |
updated_at | 2022-03-03 18:04:00.904407 |
description | A single-coordinate 2D hex grid. |
homepage | |
repository | https://github.com/ljedrz/hex-spiral |
max_upload_size | |
id | 543001 |
size | 16,041 |
hex-spiral is library for working with 2D hexagonal maps using single-coordinate positions.
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.