Generates complex spanning trees, random mazes, and connected graph structures using configurable frontier-based exploration.
This skill implements the 'Norvig Pattern' for tree and maze generation, allowing Claude to produce diverse connected structures by manipulating frontier exploration strategies. By swapping the pop strategy, the skill can generate long winding paths via DFS, short bushy branches via BFS, or uniform random spanning trees. It is particularly useful for developers working on procedural content generation, network topology modeling, or any scenario requiring a cycle-free graph that visits every node exactly once.
Características Principales
01Configurable exploration strategies including DFS, BFS, and Random
02Frontier-based traversal patterns for algorithmic efficiency
03Procedural maze generation logic for grid-based structures
041 GitHub stars
05Spanning tree generation for guaranteed node coverage
06Lightweight edge-set representation for easy integration
Casos de Uso
01Building random spanning trees for network connectivity simulations
02Creating procedurally generated levels and dungeons for games
03Implementing grid-based graph coverage algorithms without cycles