JS1k 2010 demo — by Nick Lockwood

A simple random maze generator, using the Recursive Division method described on Wikipedia. The code was hand-tuned for size (which mostly involved extracting common sub-expressions and removing edge-…