I coded a random maze generator! It's fun to see how the algorithm explores a grid to find a path through, then branches out to make a finished maze.

You can play with it yourself on CodePen: https://codepen.io/phebert/pen/zYgqwVe

#GenerativeArt #JavaScript #SVG #WebDev

Random Maze Generator

Learn more about hos this works here: https://cloudfour.com/thinks/coding-randomized-zelda-patterns/...

This also inspired some weeeeeird generative art experiments:

https://codepen.io/phebert/pen/MWNegEv?editors=0100

#GenerativeArt

Gen Art From Maze Builder (2)

Learn more about hos this works here: https://cloudfour.com/thinks/coding-randomized-zelda-patterns/...

@paulhebert This is super clever, I love it! Need more coffee if I'm going to understand the code behind it...
@rposbo thanks! The code’s a bit of a mess right now. I’m thinking about writing a blog post about how it works. If you’re curious I can send you a link when I do!