On the above formula;
for some reason it seems to work better for me if I divide them by 10. So the final answer was..
print int(d1/10), int(d2/10)
Well Im back to trying to make some useful maps for everyone with this program. But it takes a long time for someone whose methodology is "random until it looks right". Here are some I consider usable in the 300 to 400 province range. All are fully wrapped maps. More should be on the way as I fiddle with the program some more.
http://www.dom3minions.com/RandomMaps/Mid_Wrapped/
Feel free to snag one and use it as a template. Fix the colors, add icons, etc.
Feel free to also comment on things like colors and map sizes. What is needed and wanted?