{"id":30196610,"url":"https://github.com/megaprog/bresenhamline","last_synced_at":"2025-08-13T05:27:24.684Z","repository":{"id":15205935,"uuid":"17934276","full_name":"Megaprog/BresenhamLine","owner":"Megaprog","description":"Bresenham’s line drawing algorithm implementation in 2D and 3D dimensions","archived":false,"fork":false,"pushed_at":"2014-11-07T19:12:45.000Z","size":224,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-08T13:52:32.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/Megaprog.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":"2014-03-20T07:35:11.000Z","updated_at":"2025-04-29T05:47:32.000Z","dependencies_parsed_at":"2022-09-24T02:10:39.725Z","dependency_job_id":null,"html_url":"https://github.com/Megaprog/BresenhamLine","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Megaprog/BresenhamLine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megaprog%2FBresenhamLine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megaprog%2FBresenhamLine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megaprog%2FBresenhamLine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megaprog%2FBresenhamLine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Megaprog","download_url":"https://codeload.github.com/Megaprog/BresenhamLine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megaprog%2FBresenhamLine/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270184248,"owners_count":24541495,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-08-13T05:26:47.822Z","updated_at":"2025-08-13T05:27:24.624Z","avatar_url":"https://github.com/Megaprog.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"BresenhamLine\n=============\n\nBresenham’s line drawing algorithm implementation in 2D and 3D dimensions.\n\n## How to get it?\n\nYou can download the latest build at:\n    https://github.com/Megaprog/BresenhamLine/releases\n\nOr use it as a maven dependency:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eorg.jmmo\u003c/groupId\u003e\n    \u003cartifactId\u003ebresenham-line\u003c/artifactId\u003e\n    \u003cversion\u003e1.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## How to use it?\n\n    import org.jmmo.bresenham_line.BresenhamLine;\n    import org.jmmo.bresenham_line.PointHandler3D;\n\n    public class Example {\n\n        public static void main(String[] args) {\n            new BresenhamLine().processLine3D(1, 9, 8, 14, 6, 19, new PointHandler3D\u003cVoid\u003e() {\n                @Override\n                public Void handlePoint(int x, int y, int z) {\n                    System.out.println(\"x=\" + x + \", y=\" + y + \", z=\" + z);\n                    return null;\n                }\n            });\n        }\n    }\n\nThe output is:\n\nx=1, y=9, z=8\u003cbr/\u003e\nx=2, y=9, z=9\u003cbr/\u003e\nx=3, y=9, z=10\u003cbr/\u003e\nx=4, y=8, z=11\u003cbr/\u003e\nx=5, y=8, z=11\u003cbr/\u003e\nx=6, y=8, z=12\u003cbr/\u003e\nx=7, y=8, z=13\u003cbr/\u003e\nx=8, y=7, z=14\u003cbr/\u003e\nx=9, y=7, z=15\u003cbr/\u003e\nx=10, y=7, z=16\u003cbr/\u003e\nx=11, y=7, z=16\u003cbr/\u003e\nx=12, y=6, z=17\u003cbr/\u003e\nx=13, y=6, z=18\u003cbr/\u003e\nx=14, y=6, z=19\u003cbr/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegaprog%2Fbresenhamline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegaprog%2Fbresenhamline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegaprog%2Fbresenhamline/lists"}