mosaic
mosaic copied to clipboard
Implement selection of tile from multiple best fitting ones
Sometimes the mosaic can be improved by not only using the best fitting tiles, but one of the few best matching ones.
This PR keeps track of all tile scores and updates the tile selection function to select one of multiple matching tiles.