exupero's blog
RSSApps

Variations on hand-drawn dungeons

In the previous post I showed how I generated dungeon-looking patterns like this by hand:

The irregular design comes from the random choice of dots inside the perimeter. The above pattern includes dots at about 50% of the possible locations, so it's natural to ask how the pattern changes if we increase or decrease the number of dots. More dots results in more squares and narrow passages:

while fewer dots creates a stronger checkerboard design:

Choosing dots non-randomly can yield repeating patterns:

or self-intersecting-designs that look like they could be optical illusions: