java - Automatically create a 2D array simulations map -


so i'm working on agent based simulation , i'm going use 2d array 500x5000 or 1000x1000. actual simulation consist of walls make rooms. problem don't want manually insert each wall because take long.

is there way can create simple 2d image of map , have program read image , insert walls 2d array based on image.

regards


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -