image map to generate cell patterns