Skip to content

Repository files navigation

Mazify

Turn any image into a detailed, printable maze.

Try mazify

A colored maze generated from a landscape image

Mazify samples the image into a brightness grid. Each sampled region becomes a variable-resolution graph: darker areas contain more nodes, while lighter areas contain fewer.

  • Generate mazes from any browser-supported image
  • Preserve image details using adaptive maze density
  • Adjust grid size, detail, and contrast
  • Invert light and dark regions
  • Render with source-image colors
  • Reveal the underlying structure and solution
  • Generate alternate maze layouts from the same image
  • Copy or export a high-resolution PNG

Running locally

git clone https://github.com/ctx-o1/mazify.git
cd mazify
npm install
npm run dev

References

This maze generation method is based on H. Hernán Moraldo's Method for generating mazes from images, first published in 2009.

License

MIT License

About

Turn any image into a detailed, printable maze

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages