Skip to content

chiefgewickelt/tree_labyrinth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tree_labyrinth

Minimal spanning trees are used to create randomized labyrinths.

Outpupt:

  • Default is SVG
  • To create gnuplot script output use the edges_to_gp function. Gnuplot output is optimized for square format.

Programm uses two integer parameters for the dimensions, see here to create a 26 by 26 squares labyrinth.

./labyrinth square 26 26

You can also make it round:

./labyrinth circle 26 26

Installation

Do this:

git clone [email protected]:niccokunzmann/tree_labyrinth.git
cd tree_labyrinth/
g++ -std=c++14 -o labyrinth labyrinth.cpp

You will need to have g++ installed.

Related Work

Based on this algorithm, we created a 3d labyrinth on top of the 3d terrain of Potsdam.

About

create random labyrinths

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages