{"id":27699244,"url":"https://github.com/yurkth/stsmapgen","last_synced_at":"2025-04-25T17:17:04.751Z","repository":{"id":41278139,"uuid":"244188413","full_name":"yurkth/stsmapgen","owner":"yurkth","description":"Procedural map generator inspired by Slay the Spire.","archived":false,"fork":false,"pushed_at":"2021-10-20T18:39:30.000Z","size":11,"stargazers_count":244,"open_issues_count":2,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-25T17:16:59.638Z","etag":null,"topics":["map-generation","procedural","procedural-generation","procgen"],"latest_commit_sha":null,"homepage":"https://yurkth.github.io/stsmapgen/","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yurkth.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}},"created_at":"2020-03-01T16:59:34.000Z","updated_at":"2025-02-01T01:11:13.000Z","dependencies_parsed_at":"2022-09-21T00:10:14.211Z","dependency_job_id":null,"html_url":"https://github.com/yurkth/stsmapgen","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/yurkth%2Fstsmapgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurkth%2Fstsmapgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurkth%2Fstsmapgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yurkth%2Fstsmapgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yurkth","download_url":"https://codeload.github.com/yurkth/stsmapgen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250860493,"owners_count":21498945,"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":["map-generation","procedural","procedural-generation","procgen"],"created_at":"2025-04-25T17:17:04.352Z","updated_at":"2025-04-25T17:17:04.743Z","avatar_url":"https://github.com/yurkth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stsmapgen\r\n\r\nThe map generator inspired by [Slay the Spire](https://store.steampowered.com/app/646570).\r\n\r\n**I do not authorize the use of anything generated by this project for the selling of NFTs.**\r\n\r\n![](https://user-images.githubusercontent.com/59264002/75630736-89e6a080-5c30-11ea-86ed-3f00e3631e48.gif)\r\n\r\n## Theory\r\n\r\n1. Set the start point and the end point.\r\n2. Prepare points with Poisson disk sampling.\r\n3. Generate links with Delaunay triangulation.\r\n4. Find the path from the start point to the end point with A*.\r\n5. Exclude random points on the path.\r\n6. Repeat steps 4 and 5 several times.\r\n7. Complete!\r\n\r\n## License\r\n\r\nstsmapgen is licensed under the MIT license. See the [LICENSE](https://github.com/yurkth/stsmapgen/blob/master/LICENSE) for more information.\r\n\r\nLibraries:\r\n\r\n- [poisson-disk-sampling](https://github.com/kchapelier/poisson-disk-sampling) from [kchapelier](https://github.com/kchapelier) is licensed under the MIT license.\r\n- [Delaunator](https://github.com/mapbox/delaunator.git) from [mapbox](https://github.com/mapbox) is licensed under the ISC license.\r\n- [ngraph.path](https://github.com/anvaka/ngraph.path) from [anvaka](https://github.com/anvaka) is licensed under the MIT license.\r\n- [ngraph.graph](https://github.com/anvaka/ngraph.graph) from [anvaka](https://github.com/anvaka) is licensed under the BSD 3-Clause license.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurkth%2Fstsmapgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyurkth%2Fstsmapgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurkth%2Fstsmapgen/lists"}