How to control square size in a grid from square area?
问题 I am new to Netlogo. I used the code of "Traffic grid" to draw square grid. From this code, how can I control square size in the grid from square area (e.g. one square = 100km²) instead of horizontal and vertical road number ? In my Netlogo world, one patch = 10km². to setup let grid-x-inc world-width / grid-size-x let grid-y-inc world-height / grid-size-y ask patches [ set pcolor brown ] let roads patches with [( floor( (pxcor + max-pxcor - floor(grid-x-inc - 1) ) mod grid-x-inc ) = 0) or (