SMT-Based Pipeline Generates Mazes from Patterns

Shengyi Wang· July 14, 2026 View original

▶ The 60-second brief

Summary

This paper introduces a pipeline that constructs maze structures from input patterns like text or shapes using Satisfiability Modulo Theories (SMT). It encodes path synthesis as global constraints, allowing for the creation of planar or 3D woven mazes from the generated paths.

Researchers have developed a novel pipeline capable of generating intricate maze structures directly from arbitrary input patterns, such as text or geometric shapes. The core of this system lies in its use of Satisfiability Modulo Theories (SMT) to solve the central path-synthesis problem. This involves encoding global constraints related to adjacency, continuity, and pattern-constrained coverage, allowing a fixed-bound instance to be solved efficiently in a single SMT call. The output of this synthesis process is a foundational path, which can be either a self-avoiding planar route or a layered traversal incorporating specific over-under crossings. This path then serves as a scaffold upon which concrete maze constructions are built. The report details how these synthesized paths are transformed into both two-dimensional planar mazes and three-dimensional woven mazes. This extension of a previously published conference paper provides more comprehensive examples and a thorough explanation of the construction process, showcasing a creative application of SMT for geometric design.

Why it matters

This innovative approach to generative design could be valuable for professionals in fields requiring automated content generation, complex structural design, or novel artistic applications, offering a structured way to create intricate patterns from simple inputs.

How to implement this in your domain

  1. 1Explore SMT solvers for encoding complex geometric or logical constraints in design problems.
  2. 2Investigate using pattern-based inputs to drive generative design processes.
  3. 3Apply path synthesis techniques to create scaffolds for complex 2D or 3D structures.
  4. 4Consider integrating similar computational geometry methods into CAD/CAM workflows.
  5. 5Experiment with generating unique visual or structural designs from abstract inputs.

Who benefits

ArchitectureGame DevelopmentProduct DesignArt & EntertainmentEducation

Key takeaways

  • SMT can be used to synthesize complex paths and maze structures from patterns.
  • The method allows for generating both 2D planar and 3D woven mazes.
  • Global constraints on adjacency and continuity are key to path synthesis.
  • This approach offers a structured way to create intricate designs from simple inputs.

Original post by Shengyi Wang

"arXiv:2607.09781v1 Announce Type: new Abstract: We present a pipeline for constructing maze structures from input patterns such as text or shapes. The central path-synthesis problem is encoded in Satisfiability Modulo Theories as global constraints on adjacency, continuity, and p…"

View on X

Originally posted by Shengyi Wang on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses