Generate mosaic