This demo generates a raster grid from array data.
See the raster-array.js source for details on how this is done.