{"id":20758521,"url":"https://github.com/darkpurple141/maps","last_synced_at":"2025-04-30T03:47:13.505Z","repository":{"id":97794720,"uuid":"79323152","full_name":"DarkPurple141/Maps","owner":"DarkPurple141","description":"This is a sub-repository of some work I did on creating a map-generating framework.","archived":false,"fork":false,"pushed_at":"2017-08-01T07:22:52.000Z","size":144,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T03:47:09.763Z","etag":null,"topics":["games","graphics","mapgeneration","maps","python","voronoi"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DarkPurple141.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":"2017-01-18T09:15:50.000Z","updated_at":"2022-10-08T14:53:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b612611-2ebf-46ad-8c84-2079dc4ba836","html_url":"https://github.com/DarkPurple141/Maps","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/DarkPurple141%2FMaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkPurple141%2FMaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkPurple141%2FMaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarkPurple141%2FMaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarkPurple141","download_url":"https://codeload.github.com/DarkPurple141/Maps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251638756,"owners_count":21619662,"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":["games","graphics","mapgeneration","maps","python","voronoi"],"created_at":"2024-11-17T09:51:48.073Z","updated_at":"2025-04-30T03:47:13.499Z","avatar_url":"https://github.com/DarkPurple141.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![fantasy_image_example](https://cdn-images-1.medium.com/max/2000/1*emM9Ygf_PgXtW76gmz_Lww.png \"Fantasy Map V4\")\n\n# Maps\nThis is a sub-repository of some work I did on creating a map-generating framework. The code is pretty rough in parts; I was figuring it out as I went. I tried to clean it up toward the end with some success, although it's still far from optimised.\n\nFor more read this:\nhttps://medium.com/@al_hinds/making-dem-maps-fa2187b70c8b#.744ldhpov\n\n## Dependencies\n+ Build is in Python 3\n+ numpy, PIL are required for present build\n  * pip3 install numpy, pillow will deliver the goods\n  * pygame is only required for rendering, however this could be altered to matplot if required\n\n## Usage\nVoronoi.py is the core map generating code.\n+ There's a setup() function which can take a number of different arguments based on the type of map, size, polygon count required. If you're just starting out, I'd suggest use the default setup function.\n\n## Classes\nThe major classes are Corner, Point, Polygon, Triangle.\n+ Polygons control terrain type and are the output from the core generation code.\n+ Points/Corners hold some key pathing information, and are used for roads, rivers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkpurple141%2Fmaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkpurple141%2Fmaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkpurple141%2Fmaps/lists"}