Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.24 KB

README.md

File metadata and controls

26 lines (18 loc) · 1.24 KB

stsmapgen

The map generator inspired by Slay the Spire.

Theory

  1. Set start point and end point.
  2. Prepare points with Poisson disk sampling.
  3. Generate links with Delaunay triangulation.
  4. Find the path from the start point to the end point with A*.
  5. Exclude random points on the path.
  6. Repeat steps 4 and 5 several times.
  7. Complete!

License

stsmapgen is licensed under the MIT license. See the LICENSE for more information.

Libraries: