Skip to content

JuliusR/tree_labyrinth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 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 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

  • C++ 100.0%