Skip to content

Map generation for 2D world. It creates walls using Wave Function Collapse

Notifications You must be signed in to change notification settings

Nik-Kras/Wave-Function-Collapse-Grid-World-Maze

 
 

Repository files navigation

Wave-Function-Collapse for Grid World Maze

The WFC was changed for a certain application. It creates a map for 2D world, the main result is a 2D binary matrix representing the walls and paths. It could be used in the environment to set the game. The repository with a game where this generator will be used - https://github.com/Nik-Kras/ToMnet-N

For details of each class and method please look at Wave_Function_Collapse.ipynb

To look at the use examples - main.py or Examples.py

PS: Yellow lines are path and Purple are walls

Example of a Maze #1

Example of a Maze #2

Example of a Maze #3

Example of a Maze #4

About

Map generation for 2D world. It creates walls using Wave Function Collapse

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.8%
  • Python 1.2%