Bricktify is a utility that can deconstruct an image, and show what it might look like if it was created from bricks, such as Legos™.
The site is written in Angular and Typescript. You can view a running demo of the site at: http://www.bricktify.com