{"id":16116660,"url":"https://github.com/dpc/hex2d-rs","last_synced_at":"2025-04-13T08:17:59.588Z","repository":{"id":20250056,"uuid":"23522650","full_name":"dpc/hex2d-rs","owner":"dpc","description":"Helper library for working with 2d hex-grid maps","archived":false,"fork":false,"pushed_at":"2021-08-16T13:58:32.000Z","size":1540,"stargazers_count":66,"open_issues_count":5,"forks_count":16,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-20T08:52:40.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dpc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-31T20:38:18.000Z","updated_at":"2025-01-22T06:20:40.000Z","dependencies_parsed_at":"2022-09-04T00:30:17.410Z","dependency_job_id":null,"html_url":"https://github.com/dpc/hex2d-rs","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Fhex2d-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Fhex2d-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Fhex2d-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Fhex2d-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpc","download_url":"https://codeload.github.com/dpc/hex2d-rs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245755667,"owners_count":20667027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T20:25:12.117Z","updated_at":"2025-03-27T00:08:26.653Z","avatar_url":"https://github.com/dpc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hex2d\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://travis-ci.org/dpc/hex2d-rs\"\u003e\n      \u003cimg src=\"https://img.shields.io/travis/dpc/hex2d-rs/master.svg?style=flat-square\" alt=\"Build Status\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://crates.io/crates/hex2d\"\u003e\n      \u003cimg src=\"http://meritbadge.herokuapp.com/hex2d?style=flat-square\" alt=\"crates.io\"\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/GITTER-join%20chat-green.svg?style=flat-square\" alt=\"Gitter Chat\"\u003e\n  \u003cbr\u003e\n  \u003cstrong\u003e\u003ca href=\"https://docs.rs/hex2d\"\u003eDocumentation\u003c/a\u003e\u003c/strong\u003e\n\u003c/p\u003e\n\n\n## Introduction\n\nLibrary for working with 2d hex map systems.\n\nA lot of ideas taken from [redbloggames hexagon page][hexagon]\n\n[hexagon]: http://www.redblobgames.com/grids/hexagons/\n[hex2d-rs]: http://github.com/dpc/hex2d-rs\n[hex2d-dpcext-rs]: http://github.com/dpc/hex2d-dpcext-rs\n\nRead [Documentation](https://docs.rs/hex2d) for details.\n\nSee [issues](//github.com/dpc/hex2d-rs/issues/) for TODO and BUGs.\n\nYou might be interested in additional functionality provided by [hex2d-dpcext-rs] library.\n\n### Coordinate system\n\nPointy-topped:\n\n              /\\\n            /    \\\n           |      |\n           |      |\n            \\    /\n              \\/\n\n              -z\n    +y     YZ  |  XZ     +x\n     ---       |       ---\n        ---    |    ---\n           --- | ---\n      YX      -x-    XY\n           --- | ---\n        ---    |    ---\n     ---   ZX  |  ZY   ---\n    -x         |          -y\n              +z\n\nFlat-topped:\n\n             ____\n            /    \\\n           /      \\\n           \\      /\n            \\____/\n\n         +y       -z\n          \\       /\n           \\ YZ  /\n        YX  \\   /  XZ\n             \\ /\n    -x--------x--------+x\n             / \\\n        ZX  /   \\ XY\n           /  ZY \\\n          /       \\\n         +z       -y\n\n## Building\n\n    cargo build\n    \n    \n## Verification Recommendation\n\nTo help with the maintaince, the ownership of this crate is potentially shared between multiple developers.\nIt is recommended to always use [cargo-crev](https://github.com/crev-dev/cargo-crev)\nto verify the trustworthiness of each of your dependencies, including this one.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpc%2Fhex2d-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpc%2Fhex2d-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpc%2Fhex2d-rs/lists"}