Open fredzannarbor opened 2 years ago
If I understand the code correctly (big question mark), it looks as if sometimes when the application tries to place a town, this function:
while (not ok_for_town(x,y)) or not dist_ok(x,y):
x = np.random.randint(im_width-102)+51
y = np.random.randint(im_width-288)+144
is generating impossible values. Do I need to tweak the generation of x & y to keep it within certain limits?
Hi,
any idea what's happening here?
I set width to 1000 instead of 4000 to rule out memory issues. I have a modern Mac.