Skip to content
forked from yurkth/stsmapgen

Procedural map generator inspired by Slay the Spire.

License

Notifications You must be signed in to change notification settings

toddkao/stsmapgen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stsmapgen

The map generator inspired by Slay the Spire.

Theory

  1. Set the start point and the 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:

About

Procedural map generator inspired by Slay the Spire.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.1%
  • HTML 33.9%
  • CSS 4.0%