Skip to content
The Scroll Art Museum

Diagonal Maze

Al Sweigart, 2024. The classic Commodore 64 pattern.

"Diagonal Maze" is a simple random distribution of the diagonal line characters. These are different from the / forward slash and \ backslashes because they connect the actual corners of the text cell boundaries. By randomly printing them, they naturally form a maze-like pattern. This is not a literal, solveable maze.

Python source code

Customize
Settings