{"id":19319412,"url":"https://github.com/loksonarius/finite-terrain-generation","last_synced_at":"2025-04-22T17:31:52.012Z","repository":{"id":81591335,"uuid":"268424161","full_name":"loksonarius/finite-terrain-generation","owner":"loksonarius","description":"Simple finite, 2D terrain generation for use with Godot's 2D TileMaps","archived":false,"fork":false,"pushed_at":"2020-06-13T03:53:41.000Z","size":47,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T02:22:13.631Z","etag":null,"topics":["gamedev","godot","procedural-generation","terrain-generation","tilemap"],"latest_commit_sha":null,"homepage":null,"language":"GDScript","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/loksonarius.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-01T04:22:31.000Z","updated_at":"2024-07-25T15:04:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"b91a6cf5-95f9-443f-8f1d-5734d6f8b762","html_url":"https://github.com/loksonarius/finite-terrain-generation","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/loksonarius%2Ffinite-terrain-generation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loksonarius%2Ffinite-terrain-generation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loksonarius%2Ffinite-terrain-generation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loksonarius%2Ffinite-terrain-generation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loksonarius","download_url":"https://codeload.github.com/loksonarius/finite-terrain-generation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250287614,"owners_count":21405650,"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":["gamedev","godot","procedural-generation","terrain-generation","tilemap"],"created_at":"2024-11-10T01:23:39.192Z","updated_at":"2025-04-22T17:31:51.996Z","avatar_url":"https://github.com/loksonarius.png","language":"GDScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# finite-terrain-generation\n\n_Generate a \"natural-looking\" 2D, finite terrain on to a TileMap_\n\n![icon](GeneratedTileMap.png)\n\n## Screenshots\n\nSample terrains that were generated into a 1024 x 1024 TileMap:\n\n![sample 1](images/sample-1.png)\n![sample 2](images/sample-2.png)\n![sample 3](images/sample-3.png)\n\n## Usage\n\nTo try out the terrain generation scripts in your own project, pull in the\nfollowing files:\n\n- `point_path.gd`\n- `terrain.gd`\n- `terrain_generator.gd`\n- `terrain_generator_config.gd`\n\nYou can then generate a terrain by calling the `TerrainGenerator` class'\n`generate_terrain` function, optionally with a custom `TerrainGeneratorConfig`.\nThe generated terrain can then be 'rendered' on to a TileMap according to\nwhatever biome construction and decoration tiles are wanted.\n\nA concrete example of this can be found in the `GeneratedTerrainTileMap.gd`\nscript.\n\nThe code base uses typed GDScript, so it should be easy to pull in to most\nprojects, including Web-focused ones.\n\n## Demo\n\nThis repo contains a fully functional demo that can be used to explore how the\navailable generation options can affect the terrain. The demo uses the following\ncontrols to view the terrain:\n\n| Input | Description |\n| --- | --- |\n| Mouse Movement | Move the center focus point of the camera |\n| Mouse Wheel Up | Zoom in to the terrain |\n| Mouse Wheel Down | Zoom out from the terrain |\n| Q | Regenerate the terrain and recenter the camera |\n\nThe demo is the default scene, so simply opening the project and hitting \"Run\"\nshould work out just fine.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floksonarius%2Ffinite-terrain-generation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floksonarius%2Ffinite-terrain-generation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floksonarius%2Ffinite-terrain-generation/lists"}