functional mosaic builder but way too pixelated and slow
gets rid of old code