Mazes Made with Random Characters

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The mazes shown here are created with a very simple program: just take a very small number of characters randomly and get a surprising variety of designs. In the early days of computer art on personal computers, the program was implemented in BASIC for the Commodore 64 with the following simple statement, leading to considerations in randomness and regularity in simple programs:


10 PRINT CHR$(205.5+RND(1)); : GOTO 10


Contributed by: Enrique Zeleny (January 2013)
Open content licensed under CC BY-NC-SA




[1] G. Dayal, "BASIC: A Single Line of Code Sends Readers into a Labyrinth," Slate, Nov. 30, 2012. 10_print _chr _ 205_ 5_rnd _ 1_goto _ 10_from _mit _press _reviewed.single.html.

[2] N. Montfort, P. Baudoin, J. Bell, I. Bogost, J. Douglass, M. C. Marino, M. Mateas, C. Reas, M. Sample, and N. Vawter, 10 PRINT CHR$(205.5+RND(1)); : GOTO 10, Cambridge, MA: The MIT Press, 2012.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.