This Article 
 Bibliographic References 
 Add to: 
Evolving Mazes from Images
March/April 2010 (vol. 16 no. 2)
pp. 287-297
Liang Wan, The Chinese University of Hong Kong and City University of Hong Kong, Hong Kong
Xiaopei Liu, The Chinese University of Hong Kong, Hong Kong
Tien-Tsin Wong, The Chinese University of Hong Kong, Hong Kong
Chi-Sing Leung, City University of Hong Kong, Hong Kong
We propose a novel reaction diffusion (RD) simulator to evolve image-resembling mazes. The evolved mazes faithfully preserve the salient interior structures in the source images. Since it is difficult to control the generation of desired patterns with traditional reaction diffusion, we develop our RD simulator on a different computational platform, cellular neural networks. Based on the proposed simulator, we can generate the mazes that exhibit both regular and organic appearance, with uniform and/or spatially varying passage spacing. Our simulator also provides high controllability of maze appearance. Users can directly and intuitively “paint” to modify the appearance of mazes in a spatially varying manner via a set of brushes. In addition, the evolutionary nature of our method naturally generates maze without any obvious seam even though the input image is a composite of multiple sources. The final maze is obtained by determining a solution path that follows the user-specified guiding curve. We validate our method by evolving several interesting mazes from different source images.

[1] A. Fisher, “World Maze Database,” http:/www.maze-world. com/, 2007.
[2] E.J. Morales, “Virtual Mo,” http:/, 2005.
[3] Conceptis Limited “Conceptis Puzzles,” http:/www. , 2007.
[4] G. Peatfield, “Maze Creator,” http:/, 2007.
[5] H. Kern, Through the Labyrinth: Designs and Meanings over 5000 Years. Prestel, 2000.
[6] C. Berg, “Amazeing Art,” http:/, 2007.
[7] H.K. Pedersen and K. Singh, “Organic Labyrinths and Mazes,” Proc. Fourth Int'l Symp. Non-Photorealistic Animation and Rendering, pp. 79-86, 2006.
[8] J. Xu and C.S. Kaplan, “Image-Guided Maze Construction,” ACM Trans. Graphics, vol. 26, no. 3, pp. 29-37, 2007.
[9] A. Turing, “The Chemical Basis of Morphogenesis,” Philosophical Trans. Royal Soc. of London Series B, vol. 237, pp. 37-72, Aug. 1952.
[10] G. Turk, “Generating Textures on Arbitrary Surfaces Using Reaction-Diffusion,” Proc. ACM SIGGRAPH '91, pp. 289-298, 1991.
[11] A. Witkin and M. Kass, “Reaction-Diffusion Textures,” Proc. ACM SIGGRAPH '91, pp. 299-308, 1991.
[12] L.O. Chua, CNN: A Paradigm for Complexity. World Scientific Publishing Company, 1998.
[13] C.S. Kaplan and R. Bosch, “TSP Art,” Proc. Bridges Conf. Math. Connections in Art, Music and Science, pp. 301-308, 2005.
[14] J. Xu and C.S. Kaplan, “Vortex Maze Construction,” J. Math. and the Arts I, vol. 1, pp. 7-20, Mar. 2007.
[15] H. Meinhardt, Models of Biological Pattern Formation. Academic Press, 1982.
[16] H. Meinhardt, The Algorithmic Beauty of Sea Shells, second ed. Springer, 1998.
[17] J.E. Pearson, “Complex Patterns in a Simple System,” Science, vol. 261, pp. 189-192, 1993.
[18] A. Hagberg and E. Meron, “From Labyrinthine Patterns to Spiral Turbulence,” Physical Rev. Letters, vol. 72, no. 15, pp. 2494-2497, 1994.
[19] L. Phan and C. Grimm, “Sketching Reaction-Diffusion Texture,” Proc. Eurographics Workshop Sketch-Based Interfaces and Modeling, pp. 107-114, Sept. 2006.
[20] T. Roska and L.O. Chua, “The CNN Universal Machine: An Analogic Array Computer,” IEEE Trans. Circuits and Systems II, Express Briefs, vol. 40, no. 3, pp. 163-173, Mar. 1993.
[21] J.A. Sethian, Level Set Methods and Fast Marching Methods: Evolving Interfaces in Computational Geometry, Fluid Mechanics, Computer Vision, and Materials Science. Cambridge Univ. Press, 1999.
[22] R.W. Zhou, C. Quek, and G.S. Ng, “A Novel Single-Pass Thinning Algorithm and an Effective Set of Performance Criteria,” Pattern Recognition Letters, vol. 16, no. 12, pp. 1267-1275, 1995.
[23] P. Selinger, “Potrace,” http:/, 2007.
[24] P.F. Felzenszwalb and D.P. Huttenlocher, “Efficient Graph-Based Image Segmentation,” Int'l J. Computer Vision, vol. 59, no. 2, pp.167-181, 2004.

Index Terms:
Maze, multiscale RD simulator, cellular neural networks, intuitive user controls.
Liang Wan, Xiaopei Liu, Tien-Tsin Wong, Chi-Sing Leung, "Evolving Mazes from Images," IEEE Transactions on Visualization and Computer Graphics, vol. 16, no. 2, pp. 287-297, March-April 2010, doi:10.1109/TVCG.2009.85
Usage of this product signifies your acceptance of the Terms of Use.