Pure OpenSCAD random maze generator using Eller's algorithm
BONUS: OpenSCAD code generates a random maze ball game with printed ball
The maze structure is echoed out and a 3D representation of the maze is also generated. As with the snowflake generator, a random seed can be set to produce a predictable maze.
To make the OpenSCAD code simpler, recursive lists are used as data stores, which are a common (but frequently hidden) construct in functional languages. As such, it might be a bit difficult to understand.