Inspired by a Tweet by Zach Silberberg (back when they were still "tweets"), this R script uses congressional district geoJSON data from https://github.com/unitedstates/districts to create dungeon maps in the shape of US congressional districts.
Four districts from the Ranker.com article The Most Gerrymandered Districts In America as dungeons.
No attempt has been made to make the output into actual, useable dungeons. Notice, for instance, in the Illinois 4 map above, if the squares are 5 feet, then one section of the map is no wider than an arrow slit. But perhaps you can use them as inspiration.
By default, this script saves images for all 400+ district geometries available from https://theunitedstates.io as .png images with a resolution of 320 ppi. To adjust the image resolution, change the dpi
argument of the ggsave
function. Valid values for dpi include numbers and the strings "retina" (320), "print" (300), and "screen" (72).
Allowing the script to generate all possible images at the default size and resolution results in almost 2 gb of images.
- District geometry from https://github.com/unitedstates/districts
- Dirt image from https://www.deviantart.com/o-o-o-o-0-o-o-o-o/art/Seamless-Dirt-Texture-338582624
- Tile image from http://free-dungeon-tiles-to-print.blogspot.com: http://4.bp.blogspot.com/-vM-JZkTyE8w/VlNlEDdIz5I/AAAAAAAAEj8/oNyNWnfqEgk/s1600/RoomFlag_DFP1_1stEd.png