{"id":20550336,"url":"https://github.com/dnmfarrell/math-shape-grid","last_synced_at":"2025-09-25T12:55:08.904Z","repository":{"id":20250850,"uuid":"23523551","full_name":"dnmfarrell/Math-Shape-Grid","owner":"dnmfarrell","description":"2d grid for printing Math::Shape::Point objects","archived":false,"fork":false,"pushed_at":"2014-09-01T17:28:11.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T16:49:41.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dnmfarrell.png","metadata":{"files":{"readme":"README.pod","changelog":"Changes","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-31T21:28:50.000Z","updated_at":"2014-09-10T06:35:48.000Z","dependencies_parsed_at":"2022-08-21T04:10:13.251Z","dependency_job_id":null,"html_url":"https://github.com/dnmfarrell/Math-Shape-Grid","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/dnmfarrell%2FMath-Shape-Grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FMath-Shape-Grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FMath-Shape-Grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FMath-Shape-Grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnmfarrell","download_url":"https://codeload.github.com/dnmfarrell/Math-Shape-Grid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242157180,"owners_count":20081036,"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-11-16T02:24:28.579Z","updated_at":"2025-09-25T12:55:03.848Z","avatar_url":"https://github.com/dnmfarrell.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"=pod\n\n=encoding UTF-8\n\n=head1 NAME\n\nMath::Shape::Grid - a 2d grid for visualizing Math::Shape::Point objects on the terminal\n\n=head1 VERSION\n\nversion 0.03\n\n=head1 SYNOPSIS\n\n    my $p1 = Math::Shape::Point-\u003enew(1, 1, 0);\n    my $p2 = Math::Shape::Point-\u003enew(2, 2, 0);\n    my $p3 = Math::Shape::Point-\u003enew(3, 3, 0);\n\n    Math::Shape::Grid::print({ p1 =\u003e $p1, p2 =\u003e $p2, p3 =\u003e $p3 });\n\n    # prints:\n    p1 x:  1, y:  1, r:     0\n    p2 x:  2, y:  2, r:     0\n    p3 x:  3, y:  3, r:     0\n\n        -5 -4 -3 -2 -1  0  1  2  3  4  5  6  7  8 x\n      8  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n      7  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n      6  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n      5  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n      4  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n      3  .  .  .  .  .  .  .  . p3  .  .  .  .  .\n      2  .  .  .  .  .  .  . p2  .  .  .  .  .  .\n      1  .  .  .  .  .  . p1  .  .  .  .  .  .  .\n      0  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n     -1  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n     -2  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n     -3  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n     -4  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n     -5  .  .  .  .  .  .  .  .  .  .  .  .  .  .\n     y\n\n=for HTML \u003ca href=\"https://travis-ci.org/sillymoose/Math-Shape-Grid\"\u003e\u003cimg src=\"https://travis-ci.org/sillymoose/Math-Shape-Grid.svg?branch=master\"\u003e\u003c/a\u003e \n\u003ca href='https://coveralls.io/r/sillymoose/Math-Shape-Rectangle?branch=master'\u003e\u003cimg src='https://coveralls.io/repos/sillymoose/Math-Shape-Rectangle/badge.png?branch=master' alt='Coverage Status' /\u003e\u003c/a\u003e\n\n=head1 FUNCTIONS\n\n=head2 print\n\nPrints a grid to STDOUT. Requires a hashref of L\u003cMath::Shape::Point\u003e objects.\n\n    Math::Shape::Grid::print($points);\n\n=head1 REPOSITORY\n\nL\u003chttps://github.com/sillymoose/Math-Shape-Grid.git\u003e\n\n=head1 AUTHOR\n\nDavid Farrell \u003csillymoos@cpan.org\u003e\n\n=head1 COPYRIGHT AND LICENSE\n\nThis software is copyright (c) 2014 by David Farrell.\n\nThis is free software; you can redistribute it and/or modify it under\nthe same terms as the Perl 5 programming language system itself.\n\n=cut\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fmath-shape-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnmfarrell%2Fmath-shape-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Fmath-shape-grid/lists"}