Skip to content
Snippets Groups Projects
Commit 3d067158 authored by Egli Adrian (IT-SCI-API-PFI)'s avatar Egli Adrian (IT-SCI-API-PFI)
Browse files

rendering city

parent 2a7ce437
No related branches found
No related tags found
No related merge requests found
......@@ -513,7 +513,7 @@ class PILSVG(PILGL):
city_size = 1
if num_agents is not None:
city_size = max(1,np.log(1+num_agents))
city_size = max(1,np.log(1+num_agents)/1.5)
if binary_trans == 0:
if self.background_grid[col][row] <= 4 + np.ceil(((col * row + col) % 10)/city_size):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment