Maze as procedural texture??

Maze as procedural texture…I don’t think this exists in Blender. It might be a great feature. Perhaps properties on sliders to adjust angles/corner types from lines to curves… I however cannot code/script such a thing. Just throwing out an idea.

curve+array?