This is a tool that runs in the browser that allows you to draw different colors onto a grid, and then export it into text to initalize it as a two-dimensional array or object. You can also import existing two-dimensional arrays by inputing initalization code.
Current version avalible at http://edlessz.com/array-map-creator