Re:Make photomosaics, GIFs, and murals from pictures in Pyth...
by fireattack on Thursday December 13, 2018 @05:34PM
(#18676771)
Is the example image (https://github.com/worldveil/photomosaic/blob/master/media/r...) with or without opacity cheat?
[ Parent
| on HN ]
Re:Make photomosaics, GIFs, and murals from pictures in Pyth...
by muzakthings on Thursday December 13, 2018 @05:40PM
(#18676806)
Both! You can experiment with —-best-k and —randomness <1.0 and sort of get things in the middle.
Basically what this will do is assign each tile less than 100% of the time randomly and then for each that isn’t, you choose among the top best K matches on L2 distance with equal probability. Gives it a little bit of both.
Re:Make photomosaics, GIFs, and murals from pictures in Pyth...
by fireattack on Thursday December 13, 2018 @06:04PM
(#18676965)
I'm talking about `--opacity` - because to me the mosaic images used in the sky can't be that blue originally.
Re:Make photomosaics, GIFs, and murals from pictures in Pyth...
by muzakthings on Thursday December 13, 2018 @06:22PM
(#18677073)
Right. The opacity setting is superimposed after the tile assignment. Thus you can have both.
I’ve found that opacity if 0.7 is often a nice compromise.
Re:Make photomosaics, GIFs, and murals from pictures in Pyth...
by PavlovsCat on Thursday December 13, 2018 @08:07PM
(#18677599)
Yeah that's using opacity, e.g. there's an image of a blue horizon that gets tinted red.