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

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.

A portrait of Alicia Vikander.

Leon the professional.

A photo of a homeless man.
Some more images can be found here http://bit.ly/2rgxcIg.LinesLab Etsy store.