WFC EnvironmentsΒΆ
The environments listed below are implemented in the minigrid/envs/wfc
directory. Instead of laying out a level from fixed rules, each one generates it with the
Wave Function Collapse algorithm - adapted from the
Python implementation by Isaac Karth - which samples a new
grid that is locally similar to a small example image, so every reset() gives a different level of
the same character. The mission is always to traverse the level to the goal; what changes between
the environments is the pattern they sample from, one per preset, giving mazes, dungeons, rooms and
scattered obstacles. These environments need the optional dependencies, installed with
pip install minigrid[wfc].
Wfc Maze Simple
Wfc Dungeon Maze Scaled
Wfc Rooms Fabric
Wfc Obstacles Blackdots
Wfc Obstacles Angular
Wfc Obstacles Hogs3
Wfc Maze Knot
Wfc Maze Wall
Wfc Rooms Office
Wfc Obstacles Hogs2
Wfc Skew2
Wfc Maze
Wfc Maze Spirals
Wfc Maze Paths
Wfc Mazelike
Wfc Dungeon
Wfc Dungeon Rooms
Wfc Dungeon Less Rooms
Wfc Dungeon Spirals
Wfc Rooms Magic Office
Wfc Skew Cave
Wfc Skew Lake