{"id":13550551,"url":"https://github.com/etaque/elm-hexagons","last_synced_at":"2026-02-18T20:31:49.210Z","repository":{"id":62418465,"uuid":"47938341","full_name":"etaque/elm-hexagons","owner":"etaque","description":"Hexagonal computing for Elm","archived":false,"fork":false,"pushed_at":"2016-11-16T21:42:25.000Z","size":6,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T00:34:11.222Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elm","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/etaque.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-13T22:06:00.000Z","updated_at":"2021-01-08T01:19:20.000Z","dependencies_parsed_at":"2022-11-01T16:46:21.276Z","dependency_job_id":null,"html_url":"https://github.com/etaque/elm-hexagons","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/etaque/elm-hexagons","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etaque%2Felm-hexagons","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etaque%2Felm-hexagons/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etaque%2Felm-hexagons/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etaque%2Felm-hexagons/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/etaque","download_url":"https://codeload.github.com/etaque/elm-hexagons/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/etaque%2Felm-hexagons/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29594259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08-01T12:01:34.659Z","updated_at":"2026-02-18T20:31:49.189Z","avatar_url":"https://github.com/etaque.png","language":"Elm","funding_links":[],"categories":["Elm","others"],"sub_categories":[],"readme":"# Elm Hexagons\n\nAn Elm library for hexagonal grids handling, based on the awesome\n[Hexagonal Grids Reference](http://www.redblobgames.com/grids/hexagons) from Red Blob Games\nand extracted from [Tacks](https://github.com/etaque/tacks/) source code.\n\nFor now this lib is focused on axial coordinates for horizontal (pointy-topped) hexagons.\n\n\n## What's available\n\nCoordinates handling (`Hexagons` module):\n\n* Find pixel center of an hexagon: `axialToPoint`\n* Find hexagon containing a pixel point: `pointToAxial`\n* Compute \"hexagonal distance\" between two hexagons: `axialDistance`\n* Compute line between to hexagons: `axialLine`\n* Compute all hexagons within distance from an hexagon (area): `axialRange`\n\nNaive grid storage (`Hexagons.Grid` module):\n\n* A grid is a `Dict Int (Dict Int a)`\n* Get, set and remove data on grid: `getTile`, `createTile`, `deleteTile`\n* List all tiles in grid: `getTilesList`\n\n\n## What's next\n\n* Deal with vertical (flat-topped) hexagons\n* Expose cubic functions (split `Hexagons` main module into coordinates systems' specific modules?)\n* Tests, tests, test!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetaque%2Felm-hexagons","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fetaque%2Felm-hexagons","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fetaque%2Felm-hexagons/lists"}