Imgur user LinesLab wrote this algorithm that transforms photos into cool mosaics.

algorithm-cool-mosaics-David-Bowie

David Bowie.


The algorithm divides the photos into small tiles and randomly selects a style for each tile, the result is a bit messy but still very recognizable. Especially when you squinch your eyes.

algorithm-cool-mosaics-Alicia-Vikander

A portrait of Alicia Vikander.


algorithm-cool-mosaics-Leon-the-professional

Leon the professional.


algorithm-cool-mosaics-homeless-man

A photo of a homeless man.


Some more images can be found here http://bit.ly/2rgxcIg.LinesLab Etsy store.