{"id":20063727,"url":"https://github.com/mj41/algorithm-spiralmatrix","last_synced_at":"2025-03-02T10:27:43.740Z","repository":{"id":136980888,"uuid":"209588619","full_name":"mj41/Algorithm-SpiralMatrix","owner":"mj41","description":"Various Perl 6 Sequences for spirals in matrix (two-dimensional arrays).","archived":false,"fork":false,"pushed_at":"2021-09-04T19:54:12.000Z","size":56,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-12T22:43:01.556Z","etag":null,"topics":["algorithm","matrix","perl6-module","raku","spiral-matrix"],"latest_commit_sha":null,"homepage":"","language":"Raku","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mj41.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-19T15:30:19.000Z","updated_at":"2023-02-07T18:46:56.000Z","dependencies_parsed_at":"2023-03-22T12:17:34.275Z","dependency_job_id":null,"html_url":"https://github.com/mj41/Algorithm-SpiralMatrix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mj41%2FAlgorithm-SpiralMatrix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mj41%2FAlgorithm-SpiralMatrix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mj41%2FAlgorithm-SpiralMatrix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mj41%2FAlgorithm-SpiralMatrix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mj41","download_url":"https://codeload.github.com/mj41/Algorithm-SpiralMatrix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241491687,"owners_count":19971533,"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":["algorithm","matrix","perl6-module","raku","spiral-matrix"],"created_at":"2024-11-13T13:43:37.176Z","updated_at":"2025-03-02T10:27:43.710Z","avatar_url":"https://github.com/mj41.png","language":"Raku","readme":"# Algorithm::SpiralMatrix\n\nVarious Raku Sequences for spirals in matrix (two-dimensional\narrays).\n\nFor overview see [docs/test-output.md](docs/test-output.md) \nand [docs/distance-variants.md](docs/distance-variants.md).\n\n## Synopsis\n\n```raku\nuse Algorithm::SpiralMatrix;\n\nmy $i = 1;\nfor square_distance(order =\u003e 'clockwise') -\u003e ($x,$y) {\n    say \"{$i++} $x,$y\";\n    last if $i \u003e 25;\n}\n```\n\nwill print\n```\n1 0,0\n2 0,-1\n3 1,0\n4 0,1\n5 -1,0\n6 1,-1\n8 -1,1\n9 -1,-1\n...\n24 -2,2\n25 -2,-2\n````\n\n## Description\n\nThis module provides implementation of algorithms to generate various\nspiral sequences in matrix (two-dimensional array).\n\n## Related links\n\n* [zero2cx/spiral-matrix](https://github.com/zero2cx/spiral-matrix) (Python)\n* [bangjunyoung/SpiralMatrixSharp](https://github.com/bangjunyoung/SpiralMatrixSharp) (F#)\n* [Exercism: spiral-matrix](https://github.com/exercism/problem-specifications/blob/master/exercises/spiral-matrix/description.md)\n\n## Installation\n\nRakudo Raku distribution contains *zef*. Use\n\n\tzef install Algorithm::SpiralMatrix\n\nIf you have a local copy of this repository use\n\n\tzef install .\n\nin the module directory.\n\n## Support\n\nFeel free to share your suggestions, patches or comment \n[https://github.com/mj41/Algorithm-SpiralMatrix/issues](https://github.com/mj41/Algorithm-SpiralMatrix/issues).\n\n## Licence and Copyright\n\nThis is free software. Please see the [LICENCE file](LICENSE).\n\n© Michal Jurosz, 2019","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmj41%2Falgorithm-spiralmatrix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmj41%2Falgorithm-spiralmatrix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmj41%2Falgorithm-spiralmatrix/lists"}