Skip to content

An R script that creates TTRPG dungeon maps from US congressional districts.

License

Notifications You must be signed in to change notification settings

TRezendes/DistrictDungeons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

District Dungeons

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.

Examples

Four districts from the Ranker.com article The Most Gerrymandered Districts In America as dungeons.

Maryland 3
Maryland 3

Illinois 4
Illinois 4

Ohio 11
Ohio 11

Texas 33
Texas 33

Details

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.

Resources

Dynamic JSON Badge

GitHub License

About

An R script that creates TTRPG dungeon maps from US congressional districts.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published