The map generator inspired by Slay the Spire.
- Set start point and end point.
- Prepare points with Poisson disk sampling.
- Generate links with Delaunay triangulation.
- Find the path from the start point to the end point with A*.
- Exclude random points on the path.
- Repeat steps 4 and 5 several times.
- Complete!
stsmapgen is licensed under the MIT license. See the LICENSE for more information.
Libraries:
- poisson-disk-sampling from kchapelier is licensed under the MIT license.
- Delaunator from mapbox is licensed under the ISC license.
- ngraph.path from anvaka is licensed under the MIT license.
- ngraph.graph from anvaka is licensed under the BSD 3-Clause license.