Well, if you want to know how I did it, here is the file that generates the grid https://github.com/lenscas/glitch_dungeon/blob/master/src/grid/grid.rs (Warning, not nice code)
I also made https://github.com/lenscas/arena_keeper_quick/blob/master/src/structs/grid/field... which uses a module to generate a noise map and turns those values into various tiles.